Tagged: ocurrence, recurrence
I’m getting all the events with WP_Query, but can’t figure out a way to hide the ocurrences.
Seems the show_ocurrences = False arg is not working.
Thanks for the help.
Do you have this set as well in your WP_Query?
'suppress_filters' => false,
That’s what i have now and occurrences keep showing up, i want to hide them:
$args = array(
‘post_type’ => ‘event’,
‘ignore_sticky_posts’ => 1,
‘posts_per_page’ => (int) $module[‘number’],
‘order’ => ‘ASC’,
‘event_show_past_events’ => false,
‘suppress_filters’ => false,
‘show_occurrences’ => false,
change this to:
‘event_show_occurrences’ => false
many thanks! that was what i was looking for! :)
That helped me!!
I could not find this param elsewhere, in wp_query doc page, for instance.
Thanks for this post anyway!!
After you register and login to the site, you may post all plugin support questions in the Support Forum.
If you need to provide private info, please create a ticket and then reply to it using Set as private reply option.