• I have a problem with Search Everything and tribe events. When i installed the plugin, it changed the default WP search form to search everything in the website, Events, Posts, Other custom posts, and it actually work.

    The problem arise when i am in the tribe events search form.

    My events are filled with PODS custom fields, but looks like the tribe events search forms searches only for the event title and a few other things.

    Is there a way to implement “search everything” to the Tribe Events form so the search extends to my pods?

    Like:
    Event title: ABC
    pod_field (event speaker): EFG

    if i search “efg” on the default WP search form the result is:
    – ABC (but not with the Event Tribe template obviously, but more like a post)
    if i search “efg” on the event-tribe page:
    – no results

    i tried to add the pods to the wp_query but i really can’t find a way.

    So i was wondering if there is a way to add Search Everything inside the:
    public static function pre_get_posts( $query ){}

    function that you find in the Tribe Events plugin (Query.php), especially this part:

    
    // if a user provides a search term we want to use that in the search params
    if ( ! empty( $_REQUEST['tribe-bar-search'] ) ) {
    $query->query_vars['s'] = $_REQUEST['tribe-bar-search'];
    }

    where, in the default WP form, “s” works for everything, but here it doesnt.

    The page I need help with: [log in to see the link]

  • The topic ‘Search Everything and Tribe Events’ is closed to new replies.