• Hi Stephen, first off, thanks for making this incredible plugin.

    For the template taxonomy-event-tag, I’d like to separate the display of upcoming and past events on the same page: so ideally the template taxonomy-event-tag would display all upcoming events for a tag in a list, above a list of past events. I’d also like to paginate the list of past events. I’ve been pouring over the forums and documentation but I’m afraid this is all a bit beyond my WordPress knowledge.

    Thank you so much for your help!
    -Mark

    https://wordpress.org/plugins/event-organiser/

Viewing 1 replies (of 1 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    Hi Mark,

    You’re welcome!

    The difficulty with pagination and having two lists on a page is that which do you paginate? It’s possible though a bit of faff to try paginating two lists.

    Typically the best way is to leave the pagination of the “main query” to WordPress and insert a second list as desired to the template. This one wouldn’t be navigable (unless you made it so). The best way of doing that is to use eo_get_events() or WP_Query. There is documentation on this here and here.

Viewing 1 replies (of 1 total)
  • The topic ‘separating past and future events on taxonomy-event-tag.php’ is closed to new replies.