Ability to search for Organizers with keywords

Home Forums Calendar Products Events Calendar PRO Ability to search for Organizers with keywords

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1016011
    John
    Participant

    Hello,

    I’ve had no luck finding anything in the knowledge base or forums. I have tried a couple of ways to get a list of organizers via a search function (WP_Query mainly). I’ve had no luck, even when using
    $query->set('post_type', array('tribe_events', 'tribe_organizer', 'tribe_venue'));

    I’m able to find events but unable to find venues or organizers (though I only need organizers).

    I’ve not disabled plugins or reverted to the latest theme, as it will not be an option to drop anything this late in development.

    Any suggestions or recommendations would be appreciated.

    Thanks!

    #1016037
    George
    Participant

    Hey @David,

    I’m sorry that things haven’t been working as intended!

    Can you elaborate on exactly what your goal is here? For example, what’s the whole context for the line of code you shared? If possible, post the entire code in which that line of code resides – I’ll take a look and see what’s going on.

    I only ask for elaboration because you use the word “search”, but in your post you also said this:

    I have tried a couple of ways to get a list of organizers via a search function

    So are you actually dealing with a search form and such, i.e. a site search for users to use; or are you just trying to get a list of Organizers to show up statically on a page?

    Finally, for now, you are using outdated versions of the plugins. Your System Information says you’re using Events Calendar Pro and The Events Calendar version 3.10.1 – as of this writing, Events Calendar Pro is at version 3.12.4 and The Events Calendar at 3.12.3.

    We do not offer any support for custom code here, but I will do my best to help based on your responses to some of my questions above. I’d also really encourage updating to the most recent versions! 🙂

    Cheers,
    George

    #1016420
    John
    Participant

    George,

    I found that I needed multiple WP_Query’s and merged them together. The purpose was to allows users to search by event name or the organizer… so if something matched the organizer I needed to present all events (even if they didn’t match the search term).

    Thanks for the comments about updating… I’ll do so soon!

    Take care!

    #1016665
    George
    Participant

    Thanks for the update @David! I’ll close up this thread for now, but if more issues or questions arise after updating open a new thread any time 🙂

    Cheers!
    George

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Ability to search for Organizers with keywords’ is closed to new replies.