Custom Taxonomy orders by Event Start Date

Home Forums Calendar Products Events Calendar PRO Custom Taxonomy orders by Event Start Date

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1525183
    ugapresents
    Participant

    Hello, I am using Events Calendar and Events Calendar PRO.
    I have added a taxonomy to ‘Events’ called ‘Seasons’. I want the taxonomy page to order by Event Start Date rather than the standard ascending/descending of post date.
    Do you know how I could achieve this?

    #1525939
    Andras
    Keymaster

    Hi ugapresents,

    Thanks for reaching out!

    Please note that we are limited in supporting custiomizations like that as per our support policy.

    Nonetheless I can give you some pointers to help you get started.

    Here is an example snippet that changes the query in some way:

    https://gist.github.com/andrasguseo/60cd347b4cb9e6cd70d10f64152e601a

    You will need to include the custom taxonomy you created and modify the sorting at the end.

    Let me know if this helps,

    Cheers,
    Andras

    #1542928
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Custom Taxonomy orders by Event Start Date’ is closed to new replies.