• I have this code in my Single Location template. it give me a list of upcoming events at the location. I want to change it so the date order goes from earliest to latest (not vice versa, which it now produces). I can’t see how to add the orderby arguments to the placeholder #_LOCATIONNEXTEVENTS

    {has_events}
    <div class="em-item-meta-line em-location-events">
    <span class="em-icon-calendar em-icon"></span>
    </div>
    <section class="em-location-events">
    <a name="upcoming-events"></a>
    <h3>Upcoming Events</h3>
    #_LOCATIONNEXTEVENTS
    </section></div>
    {/has_events}

    Can anyone show me how to do this? The documentation doesn’t give this information so far as I can see.

    • This topic was modified 1 year, 1 month ago by markburton52. Reason: missing tag
Viewing 2 replies - 1 through 2 (of 2 total)
  • It is set to display the events in ascending order by default. The setting is in Events > Settings then in the Pages tab select the Location Pages section and you will see the “Default event list options”

    Thread Starter markburton52

    (@markburton52)

    Thanks @joneiseman I thought that was it but couldn’t figure out how to add an ASC argument there either.

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

The topic ‘#_LOCATIONNEXTEVENTS – change date order’ is closed to new replies.