Support » Plugin: Event Tickets » Show past events

  • Resolved Sociality

    (@sociality)


    I have a metabox.io in which I want to show events from your plugin. I have put the post type but it only bring future events. I want to be able to querry all events!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Ed

    (@erishel)

    Hey there @sociality!

    Thanks for reaching out.

    The Events Calendar mainly focuses on upcoming events and “archives” past events. These past events can definitely be accessed via a custom query, though I’m not completely familiar with Metabox.io or it’s capabilities.

    This knowledgebase article contains the meta data used that you would need to filter by, if possible with the plugin → https://theeventscalendar.com/knowledgebase/wordpress-post-meta-data/.

    Take care,
    Ed 🙂

    Hi there and thanks for the answer. The problem is that it seems I can not pass through the filter the Events Calendar has that changes the queries side wide and forces to bring only future events. How can I bypass this? Can this be done in the query? I am willing to remove in entirely if that is the only way to fix this.

    Plugin Support Ed

    (@erishel)

    Yes, within your query you’ll just need to add an extra argument eventDisplay and set it to past.

    Did not help at all. Still I get only the future events!

    Plugin Support Ed

    (@erishel)

    Sorry that it’s not working out for you.

    Just to be clear, you’re crafting a custom query with PHP?

    Unfortunately this is a bit outside the scope of our free support. I’ll drop this link to make sure we’re on the same page though you don’t have to use tribe_get_events, you can also use WP_query — https://theeventscalendar.com/functions/#functiontribe_get_events

    Plugin Support Ed

    (@erishel)

    Hey there,

    Since this thread has been inactive for a while, I’m going to go ahead and mark it as resolved. Don’t hesitate to create a new thread any time you help again!

    Ed 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Show past events’ is closed to new replies.