Chad

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Chad
    Participant

    It would be great if the developers of this plugin would actually take the time to see if they can re-create this issue, rather than guessing based on what I’m talking about. We already know how the plugin stores the data in the database, somebody (who knows the plugin very well) needs to check if the tribe_get_events() function is taking the ‘meta_query’ array into consideration properly or not. Thats out of my area of knowledge.

    Thank you!

    Chad
    Participant

    Nope, still doesn’t work.

    Its almost like the ‘meta_query’ part just gets ignored. var_dump($events) only gives me ‘array(0) { }’. I want to see the actual MySQL query so I can see what is going on on.

    Thanks!

    Chad
    Participant

    Thank you for taking the time to help out, but it still doesn’t work.

    I looked in the database and when the ‘Hide From Event Listings’ is checked it creates an entry in the meta_post table as “_EventHideFromUpcoming” with a “yes”. If that is not checked than that entry doesn’t exist (it deletes it when you uncheck it again).

    Can I somehow print out the SQL Query that the plugin executes with tribe_get_events()? This way I can see what is going on and if it actually takes the meta_query in consideration.

    Chad
    Participant

    No, leaving out the meta_query and/or the tax_query array doesn’t seem to solve it. To me it looks like by default the tribe_get_events function takes the ‘Hide From Event Listings’ into consideration. I would like to show all events coming up, regardless of the ‘Hide From Event Listings’ is checked or not.

Viewing 4 posts - 1 through 4 (of 4 total)