WordPress Drop-Down Menu Not Working

My client just complained that the drop-down menu on his newly constructed WordPress website was broken. Upon more study, I discovered that the problem is caused by an earlier version of JQuery that is not supported and is causing errors for several plugins.

Installing an interface plugin that mitigated between earlier and newer versions of JQuery was the simple solution.

I installed Enable JQuery Migrate Helper (https://wordpress.org/plugins/enable-jquery-migrate-helper/) and the issue was resolved.

You can skip further reading if you are not interested in details –

Understanding it in detail

The Issue

Client reported that drop-down menu is not working in his newly developed WordPress website.

Inspecting the Issue

“Inspect Element” is the best tool I’ve found for debugging any issue with your website. Every major browser now includes it. I used Inspect Element and examined the the messages under the “Console” tab. It displayed a notice saying that several of the functions in the main Jquery file had been deprecated.

Solution

The cause for the drop-down menu not working was evident based on the above inspection: some of the plugins were utilizing an earlier version of JQuery, which WordPress no longer supports with the release of WordPress version 5.6.

To solve this problem, you’ll need to install a plugin that acts as a bridge between previous and newer versions of JQuery.

About The Plugin  

You have to install “Enable JQuery Migrate Helper” (https://wordpress.org/plugins/enable-jquery-migrate-helper/). It’s completely free and has over 200 thousand active users. It was last updated four months ago and works with WordPress versions 5.4 and higher.

To be honest, I didn’t look for any other options or ways to solve the problem without the plugin because it is so convenient and trustworthy.

I hope this will help you too if you are facing JQuery function depreciated issue and some of the functionalities not working.

Please contact me with your needs, and I will be pleased to assist you. Please email me at contact@growthtechnosoft.com if you have any questions.