Viewing 6 replies - 1 through 6 (of 6 total)
  • Hiya,

    Can you clarify what bookings list you’re referring to please? I assume the list at Events > Settings > Bookings in the admin, but you mentioned end users.

    Thanks

    Thread Starter sconxystylon

    (@sconxystylon)

    I have enable subscribers to manage their own booking (to cancel) from the front-end. So when subscribers visit ‘my booking’ (to see all event they have booked on) front-end page, I want the list to be ordered according to earliest date to later date.

    To do that you’d need to edit this template to list events in the order you want: /events-manager/templates/templates/my-bookings.php

    Take a look at this tutorial to see how to create custom templates that are upgrade safe: https://wp-events-plugin.com/documentation/using-template-files/

    Thread Starter sconxystylon

    (@sconxystylon)

    can you help with a snippet of code to order the list by date?

    Sorry, there’s a much easier way to this ??

    You can change the ordering with the Default list ordering option under Events > Settings > Pages > Other Pages.

    Thread Starter sconxystylon

    (@sconxystylon)

    Thank you. That is the exact solution I wanted.

    Kind regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Order my booking table according to date’ is closed to new replies.