• Resolved johnnyvenommusic

    (@johnnyvenommusic)


    Hi there, I just got the plugin set up and it works very well. I am, however, looking for something that would be able to display a specific group of activities. The format of the [activities] shortcode, which displays the latest activities, would be perfect. Would it be possible to give the shortcode start and end date parameters that would return that range of activities?

    I also saw a support item Multiple activities of one user on one map, which is very similar in concept and could work well! Any update on this?

    Either way, the goal is the same, to be able to display a group of activities in a compact and concise way.

    Thank you, and thanks for a nice plugin!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jrfoell

    (@jrfoell)

    Thanks @johnnyvenommusic – I’m working on this today, so I’ll try to add it.

    Plugin Author jrfoell

    (@jrfoell)

    Hey @johnnyvenommusic – I just updated 2.3.0 with start/end date support in the [activities] shortcode. The parameters are date_start and date_end and without a time they’re treated as the start of the day (midnight). So if you want to just show rides from Saturday the 25th you should do Saturday-Sunday like this:

    [activities date_start=”2020-04-25″ date_end=”2020-04-26″]

    FYI – It relies on your WP timezone being the same as your local timezone in Strava. You can also paste “American” date formats from your activity log in Strava i.e. “11/1/2019” but you have to use slashes (/) not dashes (-).

    Plugin Author jrfoell

    (@jrfoell)

    @johnnyvenommusic could I ask you to leave a review? ❤️

    Thread Starter johnnyvenommusic

    (@johnnyvenommusic)

    @jrfoell – wow thank you! That works great and is just what I was hoping for. I’m happy to leave a 5 star review for the plugin, and psyched to add it to my site. Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Activities shortcode with date range?’ is closed to new replies.