Skip the Tribe filter on WP_Query

Home Forums Calendar Products Events Calendar PRO Skip the Tribe filter on WP_Query

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1103047
    Francis
    Participant

    Dear Support Team,

    I bought a events calendar pro license and a few other plugin, I will admit for close to 300$ USD I was expecting a bit more Like having to pay 89$ to filter from my point of view it’s overrated it should be native in pro, but it’s not the point of my topic.

    In order to centralised the events management for the web site and the selling parts, I used a “WP_Query” object on with I pass the “tribe_events” post type and “tribe_events_cat” taxomony to retrieve specific post on a specific categ to display on home page. The query works well perhaps somewhere in your plugin the query get “filtered” with a date limitation
    AND (wp_postmeta.meta_value >= '2016-04-15 16:35:45' OR (wp_postmeta.meta_value <= '2016-04-15 16:35:45' AND tribe_event_end_date.meta_value >= '2016-04-15 16:35:45' )
    Since we are a small non lucrative organisation we don’t have much event and we would like to always have 3 “events” display on front page even if they are passed.

    Can you guide me on witch filter should I remove or a procedure to avoid having a date limitation on my WP_query mysql query?

    regards

    #1103727
    Josh
    Participant

    Hey Francis,

    Thanks for reaching out to us!

    You can try adding suppress_filters => true to your query args to see if that helps. This will remove any customizations that we are adding for event queries.

    Additionally, the main issue here is with the “eventDisplay” argument which defaults to “upcoming” to only show upcoming events. You can manually set that to “custom” within your query args as well.

    Let me know if this helps.

    Thanks!

    #1110068
    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 ‘Skip the Tribe filter on WP_Query’ is closed to new replies.