Forums Forums Search & Filter Pro Conflict between Search Pro and Amadeus theme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #28742

    Hello!
    Great plugin.

    Unfortunately, it doesn’t work on my theme – Amadeus free theme. (It works with Twenty Fifteen).
    So, I tried to follow all the instructions, but failed.
    One filter uses a shortcode. Another uses archive method (Search Form is in sidebar).
    Ajax is unchecked in both filters.

    ‘Force is_search to always be true?’ is checked.

    Amadeus theme uses loops, not custom queries.

    This code

    add_filter('wp_title','search_form_title');
    
    function search_form_title($title){
     
     global $searchandfilter;
     
     if ( $searchandfilter->active_sfid() == 35889)
     {
     return 'Search Results';
     }
     else
     {
     return $title;
     }
     
    }

    with my id doesn’t change anything.

    Where’s the problem?
    Please, help!

    Thank you.

    Anonymous
    #28743
    This reply has been marked as private.
    Ross Moderator
    #28875

    Hi Elvira

    I can see the issue.

    For some reason the Search & Filter Javascript is not being loaded – in the source code of your page I should be able to find a reference to search-filter-build.js

    But thats not there :/

    I think once this is in your source it should work.

    To force include the scripts simply add the code from this post:

    https://support.searchandfilter.com/forums/topic/taxonomies-not-being-appended-to-search-url/#post-21568

    Thanks 🙂

    Anonymous
    #28885

    That’s cool, Ross! It helped. Filter works.

    Thank you so much.
    Cheers

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