Home › Forums › Bug reporting, Questions & Suggestions › Ajax Search Pro for WordPress › Divi theme integration
This topic contains 4 replies, has 2 voices, and was last updated by Ernest Marcinko 2 years, 8 months ago.
- AuthorPosts
- September 17, 2020 at 4:36 pm #29421
Hi,
How to integrate the ajax search to the divi theme? Is there maybe an article or forum regarding this? I used the replace the default theme search but did not work. I tried to put the shortcode in the header and it kinda work but its throwing error
TypeError: Cannot read property ‘1_0’ of undefined
at Object.isDuplicateSearchTriggeredhere is the link with the search in header
https://www.sundsits.de/impressum/screenshot
https://www.dropbox.com/s/qq1c16if0ywzxn3/Screen%20Shot%202020-09-17%20at%2011.35.34%20PM.png?dl=0Regards,
pandaSeptember 18, 2020 at 10:14 am #29429Hi,
That would work perfectly fine, but the plugin script is not loaded on the page there, as well as some localization variables are also missing from the page. This happens when either the wp_footer() or wp_header() is missing from the theme files, or there is some sort of an asynchronous script loader feature enabled, but not functioning correctly.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 18, 2020 at 5:20 pm #29444Hi,
I am using wprocket plugin to combine javascript files, if combine javascript files is disabled the search will work. I noticed if I am logged in the ajax search will work with all settings enabled in wprocket, any idea why its behaving like this?
Regards,
panda-
This reply was modified 2 years, 8 months ago by
support_panda78.
September 18, 2020 at 5:21 pm #29445You cannot access this content.September 19, 2020 at 9:14 am #29452The plugins registers the scripts and localizes them as per wordpress guidelines, please ask the WP Rocket support about that, as the cause of issue is from their side.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This reply was modified 2 years, 8 months ago by
- AuthorPosts
You must be logged in to reply to this topic.