diff --git a/readme.txt b/readme.txt index 339db77..fb98382 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 Requires at least: 4.6 Tested up to: 5.6 -Stable tag: 2.5.1 +Stable tag: 2.6.0 Requires PHP: 5.3 License: GPLv2 or later @@ -22,10 +22,16 @@ Using WP-Strava 2.0+ requires a working WordPress cron configuration. By default = Blocks = +*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. 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. + +Paste in the full route URL from Strava, such as hhttps://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. + = Shortcodes = [activity 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. @@ -112,6 +118,9 @@ On the WP-Strava settings page you cannot currently remove and add another athle == Changelog == += 2.6.0 = +Make reusable components for embed screens and SOMOverride +Add Route Block = 2.5.1 = diff --git a/wp-strava.php b/wp-strava.php index dd94dff..1aae0fe 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.5.1 + * Version: 2.6.0 * Author: Carlos Santa Cruz, Justin Foell, Lance Willett, Daniel Lintott, Sebastian Erb * License: GPL2 * Text Domain: wp-strava @@ -27,7 +27,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -define( 'WPSTRAVA_PLUGIN_VERSION', '2.5.1' ); +define( 'WPSTRAVA_PLUGIN_VERSION', '2.6.0' ); define( 'WPSTRAVA_PLUGIN_FILE', __FILE__ ); define( 'WPSTRAVA_PLUGIN_DIR', trailingslashit( dirname( __FILE__ ) ) ); define( 'WPSTRAVA_PLUGIN_URL', plugins_url( '/', __FILE__ ) );