Forums › Forums › Search & Filter Pro › multiple pages result are not working
Tagged: multi page results not working
- This topic has 78 replies, 3 voices, and was last updated 9 years, 1 month ago by
Anonymous.
-
Ross Moderator(Private) April 15, 2016 at 9:26 pm #42898
No problem, thanks! – if you have the time would be great to get a review from you – http://www.designsandcode.com/wordpress-plugins/search-filter-pro/reviews/#comment 🙂
Ross Moderator(Private) April 16, 2016 at 4:35 pm #42947Hi Robert
I’m not sure I follow, can you explain the issue you are having in more detail?
I’m not sure what this means:
the search textarea does return “all results” like the tag issue before.
Thanks
Ross Moderator(Private) April 16, 2016 at 7:37 pm #42950Hi Robert
I just did some testing.
If you do not press “enter”, and you simple type in a search term, and wait for auto submit, the search works!
http://plasticat.net/?sfid=125&_sf_s=disco%20c
But, if you press enter on your keyboard, the search field clears and the form is submitted.
Now, what was really strange is I’ve just gone through all the JS code, and there is not a single line of code which says to empty the search field.
So this “clearing” of the search field is coming from somewhere else…
Its likely in your theme somewhere, however I did notice one big issue on your site (which could be the cause of this issue) – you are loading 2 copies of jQuery.
One from WP (the normal way), and one from the google CDN – http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
Now the thing is, first of all its really bad practice to load 2 copies of jquery in a page, this could cause all sorts of issues on your site.
Second, you are loading a pretty old version of jquery via the CDN, not sure why you would want to do that?
Anyway, I think this is likely the cause of your issues, so remove the CDN copy first and test again.
Thanks
Ross Moderator(Private) April 16, 2016 at 7:42 pm #42954I have no idea, its usually a user error to be honest, so probably in your theme files somewhere.
WP doesn’t require you to load jquery, it is automatically included so ensure you are not loading your own copy.
This is the google CDN found on line 31 in your source code
http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.jsThis is the local copy – http://plasticat.net/wp-includes/js/jquery/jquery.js?ver=1.11.3 – found on line 114
Exactly how these are loaded is unknown to me
Thanks
-
AuthorPosts