Viewing 1 replies (of 1 total)
  • I had the same issue and ended up using this action:

    add_action('pre_get_posts', 'mss_remove_wp_search');
    function mss_remove_wp_search($query) {
    	if ($query->is_search) {
    		$query->set('s', '');
    		$query->is_search = false;
    	}
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Replacing default search?’ is closed to new replies.