diff --git a/readme.txt b/readme.txt index d581463..234191a 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: cmanon, jrfoell, lancewillett, dlintott, sebastianerb Tags: strava, activity, bicycle, cycling, biking, running, run, swimming, swim, paddle, kayak, gps, shortcode, widget, plugin, block, blocks Requires at least: 4.6 Tested up to: 5.7 -Stable tag: 2.8.0 +Stable tag: 2.9.0 Requires PHP: 5.3 License: GPLv2 or later @@ -24,15 +24,27 @@ Using WP-Strava 2.0+ requires a working WordPress cron configuration. By default *Available in WordPress 5.0 and up.* -Strava Activity - embed an activity in any page or post. Shows a summary of the activity plus a map if a google maps key has been added. +== Strava Activity == + +Embed an activity in any page or post. Shows a summary of the activity plus a map if a google maps key has been added. Paste in the full activity URL from Strava, such as https://www.strava.com/activities/1793155844 and click "Embed." 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 selection options to show the image only (without the details table), display markers at the start & finish points, and override the system of measure from your default selection under Settings -> Strava. -Strava Route - embed a route in any page or post. Shows a summary of the route plus a map if a google maps key has been added. +== Strava Route== + +Embed a route in any page or post. Shows a summary of the route plus a map if a google maps key has been added. Paste in the full route URL from Strava, such as https://www.strava.com/routes/2326567 and click "Embed." 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 selection options to show the image only (without the details table), display markers at the start & finish points, and override the system of measure from your default selection under Settings -> Strava. -Strava Activities List - Shows your most recent activities in a bulleted list. +== Strava Activities List == + +Shows your most recent activities in a bulleted list. + +== Strava Segment == + +Embed a segment in a page or post. Shows a summary of the segment plugs a map if a google maps key has been added. + +Paste in the full segment URL from Strava, such as https://www.strava.com/segments/18803428 and click "Embed." 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 selection options to show the image only (without the details table), display markers at the start & finish points, and override the system of measure from your default selection under Settings -> Strava. = Shortcodes = diff --git a/wp-strava.php b/wp-strava.php index 3ab2362..4551980 100755 --- a/wp-strava.php +++ b/wp-strava.php @@ -3,7 +3,7 @@ * Plugin Name: WP Strava * Plugin URI: https://wordpress.org/plugins/wp-strava/ * Description: Show your strava.com activity on your WordPress site. Some Icons are Copyright © Yusuke Kamiyamane. All rights reserved. Licensed under a Creative Commons Attribution 3.0 license. - * Version: 2.8.0 + * Version: 2.9.0 * Author: Carlos Santa Cruz, Justin Foell, Lance Willett, Daniel Lintott, Sebastian Erb * License: GPL2 * Text Domain: wp-strava @@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -define( 'WPSTRAVA_PLUGIN_VERSION', '2.8.0' ); +define( 'WPSTRAVA_PLUGIN_VERSION', '2.9.0' ); define( 'WPSTRAVA_PLUGIN_FILE', __FILE__ ); define( 'WPSTRAVA_PLUGIN_DIR', trailingslashit( dirname( __FILE__ ) ) ); define( 'WPSTRAVA_PLUGIN_URL', plugins_url( '/', __FILE__ ) );