Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ajax Search Pro fails to work at all, but Search Lite does
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 4 years, 9 months ago.
- AuthorPosts
- August 27, 2018 at 5:15 pm #19063
I am not sure why, but if I use the shortcode for Ajax Search Lite, the plugin works flawlessly, the search bar seamlessly updates the results. But I’ve purchased Ajax Search Pro, and since I have not been able to get it to work the same way. I have used the default settings but the short code only produces a text box and a magnifying glass, but when I type anything into the box, there are no results produced. I am not sure what the difference could be between the lite and pro version.
-
This topic was modified 4 years, 9 months ago by
PeterKts7.
August 27, 2018 at 5:31 pm #19064Hi!
I believe the issue is, that the plugin scripts are completely missing from the site footer. I am not seeing the regular wordpress scripts there either. It is usually caused by the missing wp_footer(); function in the theme footer.php file. I highly recommend checking that.
I tried to log-in with the details, but either the login name or the password are incorrect.
Try changing this option on the plugin back-end: https://i.imgur.com/ADugXnq.png
Then clear your site cache (if you have any) and the browser cache.If this helps, then the wp_footer() is definitely missing. Let me know!
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 27, 2018 at 6:05 pm #19066I have tried your solution but it does not seem to fix the issue, I do have wp_footer() enabled however. As I use it in my templates to load the footer, and like I said, the lite version works as well. I have updated the user and password so you should have access
August 27, 2018 at 7:02 pm #19068Thanks, now I was able to log in, and found the problem.
So, the only difference between how the two versions load their scripts is, that in the Lite version the ‘jquery’ requirement is missing from the wp_register_script(..) call. It is actually a bug in the current Lite version, which is about to be fixed in the upcoming release.
Since this was the only difference, I checked if there was a custom jQuery script loaded within the theme functions.php file, and there was, but the new handler name was incorrect, it was in camel-case instead of lower-case: https://i.imgur.com/5inG0x9.pngI have corrected that to lower case via the theme editor on the back-end, now it should be working. Many other plugins also use that as a pre-requesite string, and WordPress is case sensitive to that, so those scripts won’t load. Now I am seeing some other scripts loading as well, which weren’t there before. It should be all right now.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 27, 2018 at 7:13 pm #19069Yes it works now, Thank you! You have also probably saved me trouble in the future as well.
August 27, 2018 at 7:17 pm #19070You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This topic was modified 4 years, 9 months ago by
- AuthorPosts
You must be logged in to reply to this topic.