WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Order my booking table according to date (7 posts)

  1. sconxystylon
    Member
    Posted 3 months ago #

    Hello, Please how can I order my bookings table list according to dates of events?

    Would be nice for users to see events arranged nicely according to earliest date to later dates.

    https://wordpress.org/plugins/events-manager/

  2. philipjohn
    Member
    Posted 3 months ago #

    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

  3. sconxystylon
    Member
    Posted 3 months ago #

    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.

  4. caimin_nwl
    NetWebLogic Support
    Posted 3 months ago #

    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: http://wp-events-plugin.com/documentation/using-template-files/

  5. sconxystylon
    Member
    Posted 3 months ago #

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

  6. caimin_nwl
    NetWebLogic Support
    Posted 3 months ago #

    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.

  7. sconxystylon
    Member
    Posted 3 months ago #

    Thank you. That is the exact solution I wanted.

    Kind regards

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.