Set event ordering for #_CATEGORYPASTEVENTS placeholder
-
hi,
In ‘Formatting >>Event Categories >> Single Category Page’, the ‘Single category page format’ field is set to:
#_CATEGORYNOTES<h3>Upcoming Events</h3>#_CATEGORYNEXTEVENTS
<h3>Past Events</h3>#_CATEGORYPASTEVENTS‘Pages >> Event categories >>General settings ‘Default archive ordering’ is set to ‘Order by ‘start date,start time’ ascending
I want to order by ‘start date,start time’ *descending* for the #_CATEGORYPASTEVENTS placeholder (globally). Future events and past events on category pages would each have their own ordering.
I see the function at https://wp-events-plugin.com/tutorials/modifying-placeholder-default-information/ but could use help regarding what use in in the ‘$replace = $replace . ” plus some modifications”;’ line.
Thanks
- The topic ‘Set event ordering for #_CATEGORYPASTEVENTS placeholder’ is closed to new replies.