Support » Plugin: Events Manager » events_list_grouped shortcode and orderby for events

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


    How about adding

    orderby=”event_name,event_start_date” order=”ASC”

    to the shortcode?

    If I do that, it changes the order of the “groups”…I want to keep the groups in order by day and only change the order of each event listed under the group….

    Thanks for the reply!

    try using em-template-tags.php at around line 81-160

    Plugin Author Marcus


    you’d have to copy that code and make your own solution, i.e. for each group, get the list of events into an associative array where key=name and order it that way.

    looking again at how that works it’s not possible to do ordering using search attributes, otherwise we can’t group events chronologically in an efficient manner.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘events_list_grouped shortcode and orderby for events’ is closed to new replies.