{"id":22868,"date":"2013-04-10T22:48:23","date_gmt":"2013-04-10T22:48:23","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-strava\/"},"modified":"2022-11-25T19:22:43","modified_gmt":"2022-11-25T19:22:43","slug":"wp-strava","status":"closed","type":"plugin","link":"https:\/\/su.wordpress.org\/plugins\/wp-strava\/","author":288643,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.12.1","stable_tag":"2.12.1","tested":"6.1.10","requires":"4.6","requires_php":"5.3","requires_plugins":"","header_name":"WP Strava","header_author":"Carlos Santa Cruz, Justin Foell, Lance Willett, Daniel Lintott, Sebastian Erb","header_description":"","assets_banners_color":"352523","last_updated":"2022-11-25 19:22:43","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/github.com\/sponsors\/jrfoell","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/wp-strava\/","header_author_uri":"","rating":4.3,"author_block_rating":0,"active_installs":1000,"downloads":51969,"num_ratings":12,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"0.62":{"tag":"0.62","author":"cmanon","date":"2013-04-10 23:05:57"},"1.0":{"tag":"1.0","author":"jrfoell","date":"2014-12-10 03:51:30"},"1.1":{"tag":"1.1","author":"jrfoell","date":"2017-05-10 19:42:33"},"1.1.1":{"tag":"1.1.1","author":"jrfoell","date":"2017-05-26 16:32:37"},"1.2.0":{"tag":"1.2.0","author":"jrfoell","date":"2017-12-08 21:12:06"},"1.3.0":{"tag":"1.3.0","author":"jrfoell","date":"2017-12-26 21:55:52"},"1.4.0":{"tag":"1.4.0","author":"jrfoell","date":"2018-01-26 19:38:48"},"1.4.1":{"tag":"1.4.1","author":"jrfoell","date":"2018-01-26 20:47:00"},"1.4.2":{"tag":"1.4.2","author":"jrfoell","date":"2018-02-23 16:17:13"},"1.4.3":{"tag":"1.4.3","author":"jrfoell","date":"2018-02-23 17:10:49"},"1.5.0":{"tag":"1.5.0","author":"jrfoell","date":"2018-03-23 16:31:16"},"1.6.0":{"tag":"1.6.0","author":"jrfoell","date":"2018-06-22 14:17:10"},"1.7.0":{"tag":"1.7.0","author":"jrfoell","date":"2019-02-01 20:32:03"},"1.7.1":{"tag":"1.7.1","author":"jrfoell","date":"2019-03-01 21:28:03"},"1.7.2":{"tag":"1.7.2","author":"jrfoell","date":"2019-08-02 21:00:52"},"1.7.3":{"tag":"1.7.3","author":"jrfoell","date":"2019-09-22 04:19:18"},"2.0.0":{"tag":"2.0.0","author":"jrfoell","date":"2019-10-06 03:19:29"},"2.0.1":{"tag":"2.0.1","author":"jrfoell","date":"2019-11-01 21:04:50"},"2.1.0":{"tag":"2.1.0","author":"jrfoell","date":"2019-12-22 17:33:10"},"2.10.0":{"tag":"2.10.0","author":"jrfoell","date":"2021-09-24 19:24:07"},"2.10.1":{"tag":"2.10.1","author":"jrfoell","date":"2021-09-24 22:49:11"},"2.11.0":{"tag":"2.11.0","author":"jrfoell","date":"2021-12-30 20:25:15"},"2.11.1":{"tag":"2.11.1","author":"jrfoell","date":"2022-04-29 19:35:40"},"2.12.0":{"tag":"2.12.0","author":"jrfoell","date":"2022-09-30 19:00:15"},"2.12.1":{"tag":"2.12.1","author":"jrfoell","date":"2022-11-25 19:22:43"},"2.2.0":{"tag":"2.2.0","author":"jrfoell","date":"2020-03-27 22:22:56"},"2.3.0":{"tag":"2.3.0","author":"jrfoell","date":"2020-04-24 21:19:45"},"2.3.1":{"tag":"2.3.1","author":"jrfoell","date":"2020-06-08 20:52:20"},"2.3.2":{"tag":"2.3.2","author":"jrfoell","date":"2020-06-26 21:51:48"},"2.4.0":{"tag":"2.4.0","author":"jrfoell","date":"2020-11-04 18:14:04"},"2.5.0":{"tag":"2.5.0","author":"jrfoell","date":"2020-11-28 18:54:56"},"2.5.1":{"tag":"2.5.1","author":"jrfoell","date":"2020-12-24 18:30:38"},"2.6.0":{"tag":"2.6.0","author":"jrfoell","date":"2021-01-29 22:39:03"},"2.7.0":{"tag":"2.7.0","author":"jrfoell","date":"2021-02-26 22:05:07"},"2.8.0":{"tag":"2.8.0","author":"jrfoell","date":"2021-03-26 19:32:56"},"2.9.0":{"tag":"2.9.0","author":"jrfoell","date":"2021-04-30 21:35:50"},"2.9.1":{"tag":"2.9.1","author":"jrfoell","date":"2021-05-28 19:39:03"}},"upgrade_notice":{"2.0.1":"<p>Adds API caching - speed up your page loads 8^)<\/p>","2.0.0":"<p>Version 2.0 is mandatory after October 15th, 2019. 2.0 settings upgrade instructions: https:\/\/github.com\/cmanon\/wp-strava\/wiki\/2.0-Upgrade.<\/p>","1.7.3":"<p>Version 2.0 is mandatory after October 15th, 2019. Try the 2.0 beta: https:\/\/github.com\/cmanon\/wp-strava\/releases. 2.0 settings upgrade instructions: https:\/\/github.com\/cmanon\/wp-strava\/wiki\/2.0-Upgrade.<\/p>"},"ratings":{"1":0,"2":2,"3":0,"4":2,"5":8},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1099611,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1099611,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2824340,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2824340,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"wp-strava\/activity":{"name":"wp-strava\/activity","title":"Strava Activity","category":"embed","icon":"chart-line","description":"Embed a Strava Activity","keywords":["activity","ride","map"],"textdomain":"wp-strava","attributes":{"url":{"type":"string","default":""},"imageOnly":{"type":"boolean","default":false},"displayMarkers":{"type":"boolean","default":false},"som":{"type":"string","default":null}},"editorScript":"file:..\/..\/..\/build\/index.js","editorStyle":"file:..\/..\/..\/build\/editor.css","style":"file:..\/..\/..\/build\/style.css"},"wp-strava\/segment":{"name":"wp-strava\/segment","title":"Strava Segment","category":"embed","icon":"chart-area","description":"Embed a Strava Segment","keywords":["segment","map"],"textdomain":"wp-strava","attributes":{"url":{"type":"string","default":""},"imageOnly":{"type":"boolean","default":false},"displayMarkers":{"type":"boolean","default":true},"som":{"type":"string","default":null}},"editorScript":"file:..\/..\/..\/build\/index.js","editorStyle":"file:..\/..\/..\/build\/editor.css","style":"file:..\/..\/..\/build\/style.css"},"wp-strava\/activitieslist":{"name":"wp-strava\/activitieslist","title":"Strava Activities List","category":"embed","icon":"editor-ul","description":"List of Strava Activities","keywords":["activity","ride"],"textdomain":"wp-strava","attributes":{"som":{"type":"string","default":null}},"editorScript":"file:..\/..\/..\/build\/index.js","editorStyle":"file:..\/..\/..\/build\/editor.css","style":"file:..\/..\/..\/build\/style.css"},"wp-strava\/route":{"name":"wp-strava\/route","title":"Strava Route","category":"embed","icon":"location-alt","description":"Embed a Strava Route","keywords":["route","map"],"textdomain":"wp-strava","attributes":{"url":{"type":"string","default":""},"imageOnly":{"type":"boolean","default":false},"displayMarkers":{"type":"boolean","default":false},"som":{"type":"string","default":null}},"editorScript":"file:..\/..\/..\/build\/index.js","editorStyle":"file:..\/..\/..\/build\/editor.css","style":"file:..\/..\/..\/build\/style.css"}},"tagged_versions":["0.62","1.0","1.1","1.1.1","1.2.0","1.3.0","1.4.0","1.4.1","1.4.2","1.4.3","1.5.0","1.6.0","1.7.0","1.7.1","1.7.2","1.7.3","2.0.0","2.0.1","2.1.0","2.10.0","2.10.1","2.11.0","2.11.1","2.12.0","2.12.1","2.2.0","2.3.0","2.3.1","2.3.2","2.4.0","2.5.0","2.5.1","2.6.0","2.7.0","2.8.0","2.9.0","2.9.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2824340,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2824340,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2824340,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2824340,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2824340,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2824340,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":2824340,"resolution":"7","location":"assets","locale":""},"screenshot-8.png":{"filename":"screenshot-8.png","revision":2824340,"resolution":"8","location":"assets","locale":""},"screenshot-9.png":{"filename":"screenshot-9.png","revision":1810165,"resolution":"9","location":"assets","locale":""}},"screenshots":{"1":"Strava Activity embedded in a page or post - options for image only, start\/end markers, image size, etc.","2":"Strava Activity in the block editor.","3":"Strava Latest Map Widget - put a map of your latest activity your sidebar. Options to filter out shorter activities.","4":"Strava Activities List (Block &amp; Widget) - put a list of most recent activities in a sidebar, post, page, etc.","5":"WP-Strava settings - this walks you through connecting the WP-Strava plugin to your Strava account. You can connect multiple accounts by authenticating each one here. Add your Google Maps key for map display here. You can also set the system of measurement (miles\/kilometers) and clear any saved data.","6":"Strava Activities List Widget Settings - settings for the Strava Activities List Widget.","7":"Strava Latest Map Widget Settings - settings for the Latest Map Widget. You can limit your activity by minimum distance to show only longer efforts.","8":"Activity Shortcode Settings - An example activity shortcode. The client_id parameter is only needed if your site is connected to multiple athlete accounts.","9":"Route Shortcode Settings - An example route shortcode. Add markers=true to show green\/red start\/stop points."},"jetpack_post_was_ever_published":false},"plugin_section":[163309],"plugin_tags":[2505,16162,16163,12456,22202],"plugin_category":[43,49],"plugin_contributors":[83251,152381,83252,77550,167447],"plugin_business_model":[],"class_list":["post-22868","plugin","type-plugin","status-closed","hentry","plugin_section-blocks","plugin_tags-activity","plugin_tags-bicycle","plugin_tags-biking","plugin_tags-cycling","plugin_tags-strava","plugin_category-customization","plugin_category-maps-and-location","plugin_contributors-cmanon","plugin_contributors-dlintott","plugin_contributors-jrfoell","plugin_contributors-lancewillett","plugin_contributors-sebastianerb","plugin_committers-cmanon","plugin_committers-jrfoell","plugin_committers-lancewillett"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-strava_352523.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-strava\/assets\/screenshot-1.png?rev=2824340","caption":"Strava Activity embedded in a page or post - options for image only, start\/end markers, image size, etc."},{"src":"https:\/\/ps.w.org\/wp-strava\/assets\/screenshot-2.png?rev=2824340","caption":"Strava Activity in the block editor."},{"src":"https:\/\/ps.w.org\/wp-strava\/assets\/screenshot-3.png?rev=2824340","caption":"Strava Latest Map Widget - put a map of your latest activity your sidebar. Options to filter out shorter activities."},{"src":"https:\/\/ps.w.org\/wp-strava\/assets\/screenshot-4.png?rev=2824340","caption":"Strava Activities List (Block &amp; Widget) - put a list of most recent activities in a sidebar, post, page, etc."},{"src":"https:\/\/ps.w.org\/wp-strava\/assets\/screenshot-5.png?rev=2824340","caption":"WP-Strava settings - this walks you through connecting the WP-Strava plugin to your Strava account. You can connect multiple accounts by authenticating each one here. Add your Google Maps key for map display here. You can also set the system of measurement (miles\/kilometers) and clear any saved data."},{"src":"https:\/\/ps.w.org\/wp-strava\/assets\/screenshot-6.png?rev=2824340","caption":"Strava Activities List Widget Settings - settings for the Strava Activities List Widget."},{"src":"https:\/\/ps.w.org\/wp-strava\/assets\/screenshot-7.png?rev=2824340","caption":"Strava Latest Map Widget Settings - settings for the Latest Map Widget. You can limit your activity by minimum distance to show only longer efforts."},{"src":"https:\/\/ps.w.org\/wp-strava\/assets\/screenshot-8.png?rev=2824340","caption":"Activity Shortcode Settings - An example activity shortcode. The client_id parameter is only needed if your site is connected to multiple athlete accounts."},{"src":"https:\/\/ps.w.org\/wp-strava\/assets\/screenshot-9.png?rev=1810165","caption":"Route Shortcode Settings - An example route shortcode. Add markers=true to show green\/red start\/stop points."}],"raw_content":"<!--section=description-->\n<p>This plugin uses the Strava API to embed maps and activities for athletes on your WordPress site. Included are several widgets and shortcodes for showing maps and activity summaries.<\/p>\n\n<h4>Blocks<\/h4>\n\n<p><em>Available in WordPress 5.0 and up.<\/em><\/p>\n\n<p>Embeds described in this section will only work in the WP Block (Gutenberg) editor. Compatibility with WPBakery, Visual Composer, Elementor, Beaver Builder, etc. may differ.<\/p>\n\n<h3>Strava Activity<\/h3>\n\n<p>Embed an activity in any page or post. Shows a summary of the activity plus a map if a map key has been added.<\/p>\n\n<p>Paste in the full activity URL from Strava, such as https:\/\/www.strava.com\/activities\/1793155844 and click \"Embed\" (pasting a link directly into the editor also works). A preview map will be shown in the editor, similar to what will be displayed on the front-end. In the side-panel you can select options to show the image only (without the details table), display markers at the start &amp; finish points, and override the system of measure from your default selection under Settings -&gt; Strava.<\/p>\n\n<h3>Strava Route<\/h3>\n\n<p>Embed a route in any page or post. Shows a summary of the route plus a map if a map key has been added.<\/p>\n\n<p>Paste in the full route URL from Strava, such as https:\/\/www.strava.com\/routes\/2326567 and click \"Embed\" (pasting a link directly into the editor also works). A preview map will be shown in the editor, similar to what will be displayed on the front-end. In the side-panel you can select options to show the image only (without the details table), display markers at the start &amp; finish points, and override the system of measure from your default selection under Settings -&gt; Strava.<\/p>\n\n<h3>Strava Activities List<\/h3>\n\n<p>Shows your most recent activities in a bulleted list.<\/p>\n\n<h3>Strava Segment<\/h3>\n\n<p>Embed a segment in a page or post. Shows a summary of the segment plugs a map if a map key has been added.<\/p>\n\n<p>Paste in the full segment URL from Strava, such as https:\/\/www.strava.com\/segments\/18803428 and click \"Embed\" (pasting a link directly into the editor also works). The easiest way that to navigate to a segment URL on strava.com is by clicking \u201cView Full Leaderboard\u201d or \u201cView Local Legend Stats\u201d while you're viewing a segment from an activity.<\/p>\n\n<p>A preview map will be shown in the editor, similar to what will be displayed on the front-end. In the side-panel you can select options to show the image only (without the details table), display markers at the start &amp; finish points, and override the system of measure from your default selection under Settings -&gt; Strava.<\/p>\n\n<h4>Shortcodes<\/h4>\n\n<p>[activity id=NUMBER] - add to any page or post. Shows a summary of the activity plus a map if a map key has been added.<\/p>\n\n<p>You should replace NUMBER with an activity ID from Strava. The easiest way to find it is from a Strava URL like https:\/\/www.strava.com\/activities\/1793155844 - where 1793155844 is the activity ID number.<\/p>\n\n<p>Also takes the following optional parameters:<\/p>\n\n<ul>\n<li>som - english\/metric (system of measure - override from default setting).<\/li>\n<li>map_width - width (width of image in pixels). Note both width and height parameters are limited to 640px except on premium API plans: https:\/\/developers.google.com\/maps\/documentation\/maps-static\/dev-guide#Imagesizes<\/li>\n<li>map_height - height (height of image in pixels). See note above on max height.<\/li>\n<li>client_id - specify a different athlete (you can copy this value from https:\/\/www.strava.com\/settings\/api or the wp-strava settings page at \/wp-admin\/options-general.php?page=wp-strava-options).<\/li>\n<li>markers - Display markers at the start\/finish point (true\/false, defaults to false).<\/li>\n<li>image_only - Display only the map image and not the table (true\/false, defaults to false).<\/li>\n<\/ul>\n\n<p>[ride] - an alias for [activity] that will accept the same parameters (kept for backwards compatibility).<\/p>\n\n<p>[route id=NUMBER] - add to any page or post. Shows a summary of the activity plus a map if a google maps key has been added.<\/p>\n\n<p>You should replace NUMBER with an route ID from Strava. The easiest way to find it is from a Strava URL like https:\/\/www.strava.com\/routes\/9001676 - where 9001676 is the route ID number.<\/p>\n\n<p>This also takes the same optional parameters as the [activity] shortcode above.<\/p>\n\n<p>[activities] - shows a list of recent activities the same way the \"Strava Activities List\" Widget does, but with a shortcode rather than a widget. Takes the following optional parameters:<\/p>\n\n<ul>\n<li>som - english\/metric (system of measure - override from default setting).<\/li>\n<li>quantity - number of activities to show.<\/li>\n<li>client_id - specify a different athlete (you can copy this value from https:\/\/www.strava.com\/settings\/api or the wp-strava settings page at \/wp-admin\/options-general.php?page=wp-strava-options).<\/li>\n<li>strava_club_id - Will display activity from the specified Strava club ID instead of an athlete.<\/li>\n<li>date_start - Will display activities after specified date - must be <a href=\"https:\/\/www.php.net\/manual\/en\/datetime.formats.php\">PHP DateTime compatible<\/a>.<\/li>\n<li>date_end - Will display activities before the specified date - must be <a href=\"https:\/\/www.php.net\/manual\/en\/datetime.formats.php\">PHP DateTime compatible<\/a>.<\/li>\n<\/ul>\n\n<p>[latest_map] - shows a map of your latest activity. Takes the following optional parameters:<\/p>\n\n<ul>\n<li>som - english\/metric (system of measure - override from default setting).<\/li>\n<li>distance_min - show only the latest activity longer than this distance in km\/mi.<\/li>\n<li>client_id - specify a different athlete (you can copy this value from https:\/\/www.strava.com\/settings\/api or the wp-strava settings page at \/wp-admin\/options-general.php?page=wp-strava-options).<\/li>\n<\/ul>\n\n<h4>Widgets<\/h4>\n\n<p>Strava Activities List - shows a list of the most recent activities.<\/p>\n\n<p>Strava Latest Map - shows map of latest activity with option to limit latest map to activities of a certain minimum distance.<\/p>\n\n<h4>Cron<\/h4>\n\n<p>Using WP-Strava 2.0+ may require a WordPress cron configuration. By default, WordPress has a built-in cron system to run scheduled events, but it relies on your website getting frequent visitors. The Strava authentication token system expires after 6 hours if not refreshed. If you think your site will not get any visitors over the span on 6 hours, you might want to set up a <em>real<\/em> cron: https:\/\/developer.wordpress.org\/plugins\/cron\/hooking-wp-cron-into-the-system-task-scheduler\/. Setting up this sort of cron is beyond the scope of support for this free plugin, so you should seek assistance through your host. Force-running the WordPress cron once an hour is good enough for WP-Strava.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='why%20am%20i%20getting%20%22error%20401%20unauthorized%22%3F'><h3>Why am I getting \"ERROR 401 Unauthorized\"?<\/h3><\/dt>\n<dd><p>1) There may be an issue with app authentication. In some cases it appears that the credentials from authorizing with your Strava app may not save into the database. If you're experiencing \"ERROR 401 Unauthorized\" on everything, that may be the case. Steps to help diagnose this are here: https:\/\/github.com\/cmanon\/wp-strava\/issues\/109<\/p>\n\n<p>2) There may be an issue with multiple athlete's activities. If you're seeing \"ERROR 401 Unauthorized\" only on certain activities, this may be the case. When you have multiple athletes saved, the first is considered to be the default athlete. If you display activity from anyone other than the default athlete, you must add the athlete client ID (found on the wp-strava settings page) to the shortcode, such as client_id=17791.<\/p><\/dd>\n<dt id='why%20is%20my%20google%20map%20not%20showing%20up%3F'><h3>Why is my Google Map not showing up?<\/h3><\/dt>\n<dd><p>If your API key works with other Google Maps plugins but not WP-Strava, you may need to enable the \"Static Maps\" functionality on your google account. This is especially true for people using G Suite accounts (not just a @gmail.com address). While logged into your G Suite email, visit https:\/\/console.developers.google.com\/apis\/library\/static-maps-backend.googleapis.com\/?q=static and make sure the \"Static Maps API\" is enabled. For more details see https:\/\/wordpress.org\/support\/topic\/no-data-errors\/<\/p><\/dd>\n<dt id='i%20recently%20uploaded%20an%20activity%2C%20why%20is%20it%20not%20showing%20on%20my%20site%3F'><h3>I recently uploaded an activity, why is it not showing on my site?<\/h3><\/dt>\n<dd><p>WP-Strava caches activity for one hour so your site doesn't hit the Strava API on every page load. If you recently uploaded activity and want to see it right away, go to the Settings -&gt; Strava in the wp-admin dashboard, check the checkbox labeled \"Clear cache (images &amp; transient data)\" and then click Save Changes.<\/p><\/dd>\n<dt id='why%20can%27t%20i%20remove%20and%20add%20an%20athlete%20at%20the%20same%20time%3F'><h3>Why can't I remove and add an athlete at the same time?<\/h3><\/dt>\n<dd><p>On the WP-Strava settings page you cannot currently remove and add another athlete at the same time. This is a known limitation. WP-Strava will remove the athlete(s) that you cleared the ID\/Nickname fields for, but the new athlete will no be added. Please complete the add\/remove operations as separate save actions on the WP-Strava settings page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.12.1<\/h4>\n\n<p>Update translation strings that have space padding https:\/\/wordpress.org\/support\/topic\/missing-space-3\/\nSet CSS image width to 100% of container\nFix lat\/lon parameter order on Mapbox maps<\/p>\n\n<h4>2.12.0<\/h4>\n\n<p>Update documentation around block embeds https:\/\/wordpress.org\/support\/topic\/which-editor-to-use-2\/\nAdded debugging for API GET\/POST to troubleshoot 401 errors https:\/\/wordpress.org\/support\/topic\/wp-strava-error-401-unauthorized\/<\/p>\n\n<h4>2.11.1<\/h4>\n\n<p>Add class selector to responsive tables https:\/\/wordpress.org\/support\/topic\/shortcode-embed-responsive-table-styling-issues\/<\/p>\n\n<h4>2.11.0<\/h4>\n\n<p>Add additional block transformations for \"Activity\" (from: Paragraph, Classic Shortcode; to: Paragraph)\nAdd Mapbox Static Map support https:\/\/github.com\/cmanon\/wp-strava\/issues\/26<\/p>\n\n<h4>2.10.1<\/h4>\n\n<p>Reworked settings save with multiple athletes, related to https:\/\/wordpress.org\/support\/topic\/wp-strava-error-401-unauthorized\/<\/p>\n\n<h4>2.10.0<\/h4>\n\n<p>Add ability to paste Activity\/Route\/Segment URL into the block editor and have it insert the appropriate block https:\/\/wordpress.org\/support\/topic\/sorry-this-content-could-not-be-embedded-5\/\nAdd <code>reduce_polyline()<\/code> for maps with large polylines but no summary provided (prevents empty map) https:\/\/wordpress.org\/support\/topic\/map-embed-from-segment-shows-default-map\/\nFix for ActivitiesList where lists were showing all zeroes https:\/\/wordpress.org\/support\/topic\/zero-on-all-activities-for-club-on-list-mocule\/\nAdd additional authorization error logging to troubleshoot 401 Unauthorized https:\/\/wordpress.org\/support\/topic\/wp-strava-error-401-unauthorized\/<\/p>\n\n<h4>2.9.1<\/h4>\n\n<p>Add conditional to look for zero\/null\/empty activity time to avoid exception https:\/\/wordpress.org\/support\/topic\/exception-thrown-oceanwp-theme\/<\/p>\n\n<h4>2.9.0<\/h4>\n\n<p>Added Segment Block https:\/\/wordpress.org\/support\/topic\/show-segments-feature\/ \/ https:\/\/wordpress.org\/support\/topic\/embed-segments-feature\/\nSwitched Activities List to display moving time instead of elapsed time https:\/\/wordpress.org\/support\/topic\/moving-time-instead-of-elapsed-time\/\nAdded calories burned (when available) to Activity and Activities List https:\/\/wordpress.org\/support\/topic\/calorie\/<\/p>\n\n<h4>2.8.0<\/h4>\n\n<p>Revised <code>block.json<\/code> based on feedback from https:\/\/wordpress.org\/plugins\/developers\/block-plugin-validator\/\nAdd PHPCompatibility checks to coding standards (and fixes from recommendations)\nAdd Activities List Block<\/p>\n\n<h4>2.7.0<\/h4>\n\n<p>Add setting to choose API cache interval (1 hour \/ 15 minutes) https:\/\/wordpress.org\/support\/topic\/decrease-update-time-for-group-recent-activities\/\nMove block type metadata to <code>block.json<\/code> for future discoverability.<\/p>\n\n<h4>2.6.0<\/h4>\n\n<p>Make reusable components for embed screens and SOMOverride\nAdd Route Block<\/p>\n\n<h4>2.5.1<\/h4>\n\n<p>Fix latest_map class replacing echo with return https:\/\/wordpress.org\/support\/topic\/latest-activity-map-shortcode-wrong-placed-on-page\/\nFix styling on pace activity max speed.\nFix broken water pace on activity.\nFix pace types and remove 'other' - making 'speed' default.\nFix to remove map link in editor so you don't leave the editor.<\/p>\n\n<h4>2.5.0<\/h4>\n\n<p>Fix missing translation domain on \"Save Changes\" in settings. https:\/\/wordpress.org\/support\/topic\/small-fix-in-settings-php-function-print_clear_input\nRefined styles for responsive tables https:\/\/wordpress.org\/support\/topic\/responsive-strava-activity-table\/\nAdd activity description under image (if set) https:\/\/wordpress.org\/support\/topic\/show-activity-description\/\nAdd preview of activity in the block editor using server-side render\nAdd System of Measure override in Activity Block display options<\/p>\n\n<h4>2.4.0<\/h4>\n\n<p>Made activity table responsive https:\/\/wordpress.org\/support\/topic\/responsive-strava-activity-table\/\nFixed issue when reauthorization erases access tokens https:\/\/wordpress.org\/support\/topic\/wp-strava-error-401-unauthorized\/\nImprove output escaping, documentation, and other coding standards<\/p>\n\n<h4>2.3.2<\/h4>\n\n<p>Added support to not link to activities https:\/\/wordpress.org\/support\/topic\/feature-request-make-link-to-activity-optional<\/p>\n\n<h4>2.3.1<\/h4>\n\n<p>Added Image Only and Display Markers toggles to Activity Block.<\/p>\n\n<h4>2.3.0<\/h4>\n\n<p>Renamed LatestActivities classes to ActivitiesList.\nAdded exception handling to authorization process.\nAdded date_start and date_end to [activities] short code https:\/\/wordpress.org\/support\/topic\/activities-shortcode-for-date-range\/<\/p>\n\n<h4>2.2.0<\/h4>\n\n<p>Added rudimentary gutenberg block for single Activity.\nChanged all Strava links to HTTPS.\nMoved PHP classes from includes\/ to src\/.<\/p>\n\n<h4>2.1.0<\/h4>\n\n<p>Updated settings to work with WP 5.3.<\/p>\n\n<h4>2.0.1<\/h4>\n\n<p>Added [latest_map] shortcode https:\/\/wordpress.org\/support\/topic\/show-latest-map-not-in-widget\/\nCode formatting cleanup, escaping, and input filtering\nAdded caching to all API requests https:\/\/wordpress.org\/support\/topic\/data-not-cached\/<\/p>\n\n<h4>2.0.0<\/h4>\n\n<p>Added new Strava \"refresh tokens\" ala https:\/\/developers.strava.com\/docs\/oauth-updates\/#migration-instructions\nFixed long activity filter https:\/\/wordpress.org\/support\/topic\/minimum-distance-on-last-activity-map-widget-not-working\/<\/p>\n\n<h4>1.7.3<\/h4>\n\n<p>Added update notice.<\/p>\n\n<h4>1.7.2<\/h4>\n\n<p>Added setting to hide elevation.\nFixed hours for activities greater than 24 hours.\nAdded scale=2 to static map to which allows for greater pixel resolution (up to 1024x1024 at 2x) for Google Maps API Premium Plan subscribers https:\/\/developers.google.com\/maps\/documentation\/maps-static\/dev-guide#Imagesizes<\/p>\n\n<h4>1.7.1<\/h4>\n\n<p>Added PHPUnit tests for all System of Measure calculations.\nFixed swimpace calculation.\nFixed seconds display on pace.\nAdded Hide Activity Time option to hide time display from Latest Activities List.<\/p>\n\n<h4>1.7.0<\/h4>\n\n<p>Added Sebastian Erb to contributors.\nAdded Pace support (min\/km) and (min\/mile) for Activity Shortcode\nAdded Swimpace support (min\/100m) for Activity Shortcode\nAdded 'image_only' attribute to [activity] and [route] shortcode to optionally remove data table.\nAdded boolean filtering to shortcodes to prevent false-positive \"truthiness\" to a shortcode attribute like image_only=\"false\".\nRemoved 'max-width: none' from activity image to make it responsive.<\/p>\n\n<h4>1.6.0<\/h4>\n\n<p>Added class autoloader (removed composer autoloader).\nAdded exception handling and cleaned up error reporting.<\/p>\n\n<h4>1.5.1<\/h4>\n\n<p>rawurlencode() redirect_uri so authentication works more consistently.\nAdded FAQ about caching.\nChanged to new-style phpcs ignores and ignored some additional lines.\nSimplified auth token logic to troubleshoot https:\/\/wordpress.org\/support\/topic\/problem-authenticating-with-strava\/\nIncreased API request timeout to 30 seconds.<\/p>\n\n<h4>1.5.0<\/h4>\n\n<p>Added additional checks for abridged club data to avoid undefined index\/property errors https:\/\/wordpress.org\/support\/topic\/club-activities-bugs-strava\/\nAdded composer with PSR-0 autoloader (will switch to PSR-4 once WP's PHP 5.2 requirement goes away).\nMoved files into appropriate place to support autoloader.\nAdded WordPress-Extra coding standards rule definition to project<\/p>\n\n<h4>1.4.3<\/h4>\n\n<p>Fix WPStrava_Activity class not found error.<\/p>\n\n<h4>1.4.2<\/h4>\n\n<p>Better Club ID support.\nRefined cache clearing to include club IDs.\nRemoved links to 'app.strava.com'\nFixed unclosed href anchor on activity shortcode.<\/p>\n\n<h4>1.4.1<\/h4>\n\n<p>Fix array indices on map widget<\/p>\n\n<h4>1.4.0<\/h4>\n\n<p>Added Daniel Lintott to contributors.\nFixed non-existent settings js from being enqueued.\nChanged all 'ride' styles and functions to 'activity'.\nAdded inline documentation.\nUpdated coding standards to WordPress where possible.\nAdded Screenshots.\nRemoved target=\"_blank\" from hrefs for accessibility best practices.\nAdded links from activity and route shortcodes to respective strava page.\nRemoved all instances of extract().<\/p>\n\n<h4>1.3.0<\/h4>\n\n<p>Added [route] shortcode and start\/finish https:\/\/github.com\/cmanon\/wp-strava\/pull\/10\/\nFixed error with \/rides link (should be \/activities). https:\/\/wordpress.org\/support\/topic\/problem-with-link-4\/\nAdded [activities] shortcode to show list of activity<\/p>\n\n<h4>1.2.0<\/h4>\n\n<p>Added multi-athlete configuration. https:\/\/wordpress.org\/support\/topic\/multi-strava-user\/\nAdditional transitions from Ride -&gt; Activity.\nUpdated setup instructions to reflect latest Strava API set up process.\nBackwards Compatibility - removed PHP 5.3+ specific operator (should work with PHP 5.2 now - versions 1.1 and 1.1.1 don't). https:\/\/wordpress.org\/support\/topic\/version-1-1-broken\/\nReworked error reporting and formatting. https:\/\/wordpress.org\/support\/topic\/updating-settings-failure\/#post-9764942<\/p>\n\n<h4>1.1.1<\/h4>\n\n<p>Changes to better support translations through https:\/\/translate.wordpress.org.\nCleaned up formatting.<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Added [activity] shortcode to deprecate [ride] in the future.\nFixed static method call error in shortcode.\nAdded title to Strava Latest Map Widget. https:\/\/wordpress.org\/support\/topic\/change-widget-title-from-latest-ride-to-latest-run-or-something-else\/\nAdded Lance Willett to contributors.\nAdded target=\"_blank\" to widget hrefs.\nAdded Google Maps Key to settings (required for map images). https:\/\/wordpress.org\/support\/topic\/the-google-maps-api-server-rejected-your-request-3\/\nAdded cache clear option to remove transient &amp; image data.\nCleaned up formatting.<\/p>\n\n<h4>1.0<\/h4>\n\n<p>Change to Strava API V3. https:\/\/wordpress.org\/support\/topic\/does-not-work-354\/\nSwitch ride shortcode to use static map.<\/p>\n\n<h4>0.70<\/h4>\n\n<p>Use WordPress HTTP API for all remote calls.\nUse WordPress Settings API for settings page.<\/p>\n\n<h4>0.62<\/h4>\n\n<p>Refactor some code.\nFixed several bugs.\nAdded feature to show athlete name\/link to the widget if the search option is by club.<\/p>\n\n<h4>0.61<\/h4>\n\n<p>Added option to select unit of measurements on the widget. https:\/\/wordpress.org\/support\/topic\/feature-request-runs-in-minkm\/<\/p>\n\n<h4>0.6<\/h4>\n\n<p>Initial version.<\/p>","raw_excerpt":"Show your Strava activity on your WordPress site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22868"}],"author":[{"embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cmanon"}],"wp:attachment":[{"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22868"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22868"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22868"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22868"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22868"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}