Forums Forums Search & Filter Pro Results always showing the same and ajax not working

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #49607

    Hi there,

    I’m having some trouble with S&F here http://www.futurepolicy.org/sdg-martin-test/

    The results that I get are the same every time, which I think it means the search feature is not working?

    Also I would like tho make the ajax work.

    Any ideas?

    Trevor
    #49622

    It is because jquery is being loaded twice (and different versions at that). You should not be doing this. The first time 1.11.3 loads, the second time 1.11.1 loads. Either you, your theme, or another plugin is doing this.

    Anonymous
    #49626

    Hi there, thank you very much for the quick response!

    Is that what is making the ajax not work as well?

    Thank you!

    Trevor
    #49627

    Yes. If you open the page in the browser and then view the source code and search for this term:

    jquery.

    You will see (around line 59):

    <script type='text/javascript' src='http://www.futurepolicy.org/wp-includes/js/jquery/jquery.js?ver=1.11.3'></script>

    and search again you will see (around line 406):

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>

    It is this second one that needs to be removed

    Anonymous
    #49630

    Thank you! I’ll do some research on that.

    Trevor
    #49631

    OK, I will leave it with you for now.

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