mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-19 06:34:03 +09:00
Added date_start & date_end params to Activities shortcode
Switched get_activities to single args array param
This commit is contained in:
+3
-1
@@ -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.4
|
||||
Stable tag: 2.2.0
|
||||
Stable tag: 2.3.0
|
||||
Requires PHP: 5.3
|
||||
License: GPLv2 or later
|
||||
|
||||
@@ -49,6 +49,8 @@ This also takes the same optional parameters as the [activity] shortcode above.
|
||||
* quantity - number of activities to show.
|
||||
* 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).
|
||||
* strava_club_id - Will display activity from the specified Strava club ID instead of an athlete.
|
||||
* date_start - Will display activities after specified date - must be [PHP DateTime strtotime compatible](https://www.php.net/manual/en/datetime.formats.php).
|
||||
* date_end - Will display activities before the specified date - must be [PHP DateTime compatible](https://www.php.net/manual/en/datetime.formats.php).
|
||||
|
||||
[latest_map] - shows a map of your latest activity. Takes the following optional parameters:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user