• How do you set the display order of the Events Page (the one created by permalinks in the settings page)?

    Also how do you change the message on that page when there are no events (the default message is too similar to a 404 error)?

    I do not want to edit files to achieve this.

    https://ww.wp.xz.cn/plugins/event-organiser/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter schulz

    (@schulz)

    After further exploration, I see that the events page is really an Events Archive page.

    So I created a Events Page and added a basic short code, however the results look nothing like the results for the Archive page. The Archive page is perfect (thumbnails, formatted title, date/time and excerpt), is there a way to tell the short code to use that format (again without editing files)?

    Thread Starter schulz

    (@schulz)

    Except for the bullets, I managed to hammer out a close facsimile of how the archive page displays the list.

    [eo_events no_events="Sorry, there are no current or upcoming events posted." showpastevents=false]
    <h2 class="eo-event-title entry-title"><a href="%event_url%">%event_title%</a></h2>
    <div class="eo-event-date" style="font-style: italic;">%schedule_start{jS F Y}{ g:ia}%</div>
    <div class="eo-event-details event-entry-meta" style="padding: 10px; float:left;">%event_thumbnail%</div>
    <div class="eo-event-content" itemprop="description" style="padding: 10px 0 0 0;">%event_excerpt%</div>
    <div style="clear: both;"></div>
    [/eo_events]

    However I am back to the original question; How do you set the display order of the events? I want to set order by event date/time of occurrence and whether it will be ascending or descending.

    I am having difficulties finding it in the documentation.

    Plugin Author Stephen Harris

    (@stephenharris)

    Hi Schulz,

    Documentation for this is here: http://docs.wp-event-organiser.com/shortcodes/events-list

    Thread Starter schulz

    (@schulz)

    Sorry, I am still not finding how to set the display order of the events?

    Plugin Author Stephen Harris

    (@stephenharris)

    Sorry, it’s not actually explicitly listed there, but it’s the “order=asc” or “order=desc”, but please note there is a bug, you have to also explicitly set the “orderby” attribute (usually to “eventstart” or “eventend”) as well.

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

The topic ‘Events Page’ is closed to new replies.