Listing multi-day events after single-day events

Home Forums Calendar Products Events Calendar PRO Listing multi-day events after single-day events

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #78923
    widgetsandburritos
    Participant

    I have a client who wants to list any events that span multiple-days to be at the end of the list on the monthly calendar view, as they want to emphasize single-day events over multi-day events.

    So for example, say Event A goes from Monday thru Friday and Event B happens on Tuesday and Event C happens on Thursday, the calendar currently sorts like this:

    M: Event A
    T: Event A | Event B
    W: Event A
    T: Event A | Event C
    F: Event A

    But they want it to sort like this:

    M: Event A
    T: Event B | Event A
    W: Event A
    T: Event C | Event A
    F: Event A

    Is it possible to do this with the plugin as currently written?

    #79001
    Barry
    Member

    Yes – I’d certainly imagine so. A customization like this isn’t something that we can provide in depth support for, however, but there are probably at least two angles of attack you might investigate.

    The first would be modifying the query or queries used to build this data up in the first place, the second and arguably easier path would be to customize the month view templates (see our Themer’s Guide for an overview) and handle things at that level, trapping and reordering the events for each day.

    https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/

    #982684
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Listing multi-day events after single-day events’ is closed to new replies.