Support » Plugin: The Events Calendar » Order of events at the last added

Viewing 4 replies - 1 through 4 (of 4 total)
  • Brook

    (@brook-tribe)

    Howdy indosta,

    You could do that if you are experienced with WP Queries. Using pre_get_posts, and a priority of 60 or higher, you could alter the orderby from “event_date” to “post_date”.

    Would that work?

    Cheers!
    – Brook

    Thread Starter indosta

    (@indosta)

    Ok. I would like to change the order by from “event_date” to “post_date”. I’m no expert of this plugin. Can you tell me where I have to make this change?

    Thanks Brook

    Thread Starter indosta

    (@indosta)

    Can you help me please?

    Thanks 🙂

    Plugin Author Brian

    (@brianjessee)

    Hi,

    Sorry we are not able to help with a customization like this.

    The entire plugin is built on ordering by event start date so you would want instead to create a customer query:

    https://codex.wordpress.org/Class_Reference/WP_Query

    Our custom post type is tribe_events

    That is about all we can do for this unfortunately.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Order of events at the last added’ is closed to new replies.