Skip to content

Commit

Permalink
Updated readme.txt with image_only flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfoell committed Feb 1, 2019
1 parent c67eb55 commit 62b104a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Also takes the following optional parameters:
* map_height - height (height of image in pixels).
* athlete_token - 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).
* markers - Display markers at the start/finish point (true/false, defaults to false).
* image_only - Display only the map image and not the table (true/false, defaults to false).

[ride] - an alias for [activity] that will accept the same parameters (kept for backwards compatibility).

Expand Down Expand Up @@ -83,7 +84,7 @@ WP-Strava caches activity for one hour so your site doesn't hit the Strava API o
Added Sebastian Erb to contributors.
Added Pace support (min/km) and (min/mile) for Activity Shortcode
Added Swimpace support (min/100m) for Activity Shortcode
Added 'image_only' attribute to [activity] shortcode to optionally remove data table.
Added 'image_only' attribute to [activity] and [route] shortcode to optionally remove data table.
Added boolean filtering to shortcodes to prevent false-positive "truthiness" to a shortcode attribute like markers="false".
Removed 'max-width: none' from activity image to make it responsive.

Expand Down

0 comments on commit 62b104a

Please sign in to comment.