How to change orders of events ?

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 8 years, 12 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21914

    Hi,

    When there are some events in a same day, I would like to change orders depending on categories.

    How can I do this ?

    Toshio Furumachi
    #21916

    Hi Toshio,

    Unfortunately it’s not possible to order events by categories as categories have no natural ordering.

    Stephen Harris
    #22024

    OK I understand.

    And can I ask you to enable this ?

    Toshio Furumachi
    #22029

    Hi Toshio,

    I’m afraid it’s not that simple. Even if categories were assigned an order value (which would require a UI change), events can have no or multiple categories. It is also complicated by pagination (e.g. you can several pages that constitute viewing events on a given day – if there is more than 10 such events).

    What you could do is ensure that the ‘events on day X’ query pulls in all events for that day on to page, and then edit the templates to group those events by category and then loop through those categories. However, that’s not a insignificant degree of development effort, so while I’d be happy to implement that for you, I would have to charge for the time. I can follow up with a quote if might be interested in pursuing that.

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.