• Hello I installed the plugin and it switches but I on the mobile theme the menu dropdown is empty and when I try and search no results come back. I am using woocommerce if that makes any difference. The main theme works fine but when it switches to mobile these issues happen.

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

Viewing 1 replies (of 1 total)
  • Thread Starter tmask2

    (@tmask2)

    Ok I got the search functionality working by commenting out some code in my theme’s functions.php, now I just need to figure out how to get the menu to show

    
    /*
    function gt_search_filter($query) {
    if ($query->is_search) {
    $query->set('post_type', 'post');
    }
    return $query;
    }
    
    add_filter('pre_get_posts','gt_search_filter');
    */
    
Viewing 1 replies (of 1 total)
  • The topic ‘switches theme but search and menu wont display’ is closed to new replies.