Group Occurances

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 11 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3348

    Hi…

    There is a great feature in the admin which allows me to only display 1 event of a recurring event (by checking the ‘group occurrences’ box).

    Is there a way to do this within the shortcode? Currently, the shortcode is displaying all events and I can’t seem to replicate this checkbox’s funtionality.
    currently using:

    echo do_shortcode('[eo_events event_category="'.$thecat.'" numberposts="3"]<div class="related-event-thumb"><a href="%event_url%">%event_thumbnail%</a></div><div class="related-event-desc"><a href="%event_url%">%event_title%</a> <br/> %start{jS M Y}%, <br/> %event_venue%</div> [/eo_events]');

    thanks again

    Andrew
    #3367

    Yup, you can use the attribute group_events_by='series' 🙂

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.