- December 11, 2020 at 12:40 am #30632
any ideas? it makes my jquery nav menu not function on my localhost wamp server and my live website. I know it’s not my jquery nav menu code because if I disable the ajax search pro plugin my jquery nav menu works again.December 11, 2020 at 3:01 am #30635
and on my live server tooDecember 11, 2020 at 9:25 am #30637
Thank you for the details!
I checked the URL, and I noticed 2 separate jQuery enqueues in the source. One is at the header, enqueued by WordPress, which is perfectly correct. But there is another one, on the bottom of the page: https://i.imgur.com/ELJZUVm.pngBest,
That is causing the issues. Using multiple jQuery instances within the same scope is not going to work correctly, as the latter one will override every extension loaded to the first instance.
If you remove the second jquery from the bottom of the page, it will resolve the issue.
If you like my products, don't forget to rate them on codecanyon :)
December 11, 2020 at 4:01 pm #30653
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>did not work on my wamp server?
My jquery nav menu does not function still
December 11, 2020 at 7:24 pm #30656
- This reply was modified 1 year, 8 months ago by Loot70.
I think I know the problem now.
thank youDecember 12, 2020 at 9:58 am #30663
You must be logged in to reply to this topic.