Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search issue on landing, custom, and category pages
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 4 years, 8 months ago.
- AuthorPosts
- April 2, 2019 at 3:42 pm #21961
Hopefully this is an easy solution that I am just missing a setting somewhere. I am having trouble with getting the search to function on the landing/home page, category/archive pages, and custom pages. It works great and without issue on the individual post pages.
Is there a setting to allow it to search on pages that are not post pages?
There are no error messages, it just fails to load or do anything when search is clicked. I can type in a search term, but the search does not actually work when clicked.
The site uses a Genesis custom child theme. I have been unsuccessful in finding any settings that would enable or disable the search on pages that are not individual posts.
Search does not work on the front page: https://www.seasonedsprinkles.com/
But it works on a post: https://www.seasonedsprinkles.com/chicken-pot-pie-soup/
Thank you for the help.
April 3, 2019 at 10:23 am #21970Hi!
Thank you for the details, I think I see the problem there. Looking at the front page, there are a lot of javascript fatal errors reported: https://i.imgur.com/fA6819k.png
Most of them report a missing jQuery script, meaning, that the WordPress core jQuery script is either missing or there is something wrong with the minification process – as I see you have a minify/cache running there. These errors basically mean that multiple things are not functioning properly, due to the missing scripts.First, I would suggest turning off the minification, to see if the errors disappear. If not, then investigating them further should be the next step, as any fatal script error may completely halt the script execution on the page.
There is an alternative option within the plugin back-end, to bypass any of these issues, that may work, however I rather recommend resolving these problems instead.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 3, 2019 at 11:56 am #21980Thank you Ernest! Removing the minification process worked, also seems to have improved the speed of the loads overall too.
Thank you very much for your help.
Thanks,
NathanApril 3, 2019 at 12:25 pm #21982You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.