• Resolved bijonlb2792

    (@bijonlb2792)


    Hello,

    I am trying to query events using tribe_get_events or WP_Query with a post_type of events. For WP Query, if I do array(‘tribe_events’) it returns nothing. If I do ‘post_type’ => array(‘mna-resources’,’tribe_events’), it returns both. tribe_get_events returns() an empty array. $events = tribe_get_events([], true) returns a query object that I am unable to loop through to get events. Please help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Darian

    (@d0153)

    Hi @bijonlb2792

    Thanks for reaching out.

    By default, tribe_get_events() will return upcoming events only. You will need to add necessary parameters if you want to display past events.

    If it’s still not working on your end, there may be a possibility of a conflict between your plugins and themes. To prevent any issues from arising, it would be great if we could conduct a conflict test on a Staging Server to get to the root of the problem.

    Let me know how it goes.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that we haven’t heard back from you in a while, so I’ll assume that the matter has been resolved. If you need any more help, feel free to start a new thread and we’ll be happy to assist you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘tribe_get_events’ is closed to new replies.