Reply To: Google Maps Javascript stops working if Ajax Search is present

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Google Maps Javascript stops working if Ajax Search is present Reply To: Google Maps Javascript stops working if Ajax Search is present

#15722

Ernest Marcinko
Keymaster

Hi!

I have looked at the page source, at first sight I would say that one major issue is that the jQuery script is included 3 times.
The first one in the header is the correct one, as it's enqueued by WordPress, but there are two more instances within the middle of the page (on line 375 and 379 on the main page source). I have copied that section here, see lines 1 and 5, both loading jQuery 2nd. and 3rd. times:

I would suggest removing those first, and making sure that any custom script is enqueued properly.

This may not be the exact cause though, but it's worth fixing first.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)