Menu Not Showing
If you are having problems with the menu not showing up on your site after installing and activating the plugin, below are a few of the most common reasons why it won’t show:
Your theme has not been built to the recommended standards
WordPress has a great page for theme developers that they must follow when creating themes otherwise plugins will break (including mine). The full-page can be found here but to summarise please ensure the following is true of your theme:
- 1. The
wp_head()
function call can be found somewhere in yourheader.php
theme file or similar - 2. The
wp_footer()
function call can be found somewhere in yourfooter.php
theme file or similar - 3. The
body_class()
function call can be found in the openingbody
element of your theme - 4. The
wp_body_open()
function, Starting from WordPress 5.2 a new function is added – wp_body_open() – that is used to trigger a wp_body_open action. So, even if you are using the latest version of WordPress and if your theme doesn’t support the hook it won’t display the menu on your website.
So, if you are facing the above-mentioned menu disappearing issue you need not worry your responsive menu will still be displayed. For that, you need to update your responsive menu plugin with that latest version. With Responsive Menu 4.0.3, we have introduced a new option called “Use wp_footer hook” in the Responsive Menu’s Advanced Settings Tab.
Enabling this option you can display the Responsive Menu on your website. It is not recommended to always use this option you should use this option only when the menu has suddenly disappeared after installing/updating a WordPress theme and if your theme does not support wp_body_open hook.
Your breakpoint option is set too low
For Responsive Menu Version 3
The next thing to check is that the Initial Setup
> Breakpoint
option is set to a high enough value. For example, if you have this set to something low, like 300 it is unlikely you will ever be on a device that is small enough to see the button.
For Responsive Menu Version 4
You can find the Breakpoint Option in Version 4 by navigating to the Mobile Menu>Toggle Button> Hamburger breakpoint
Your HTML is invalid
There is a surprising amount of HTML errors found on sites I look at which cause all sorts of issues. I recommend running your site through the W3 HTML Validator to remove any HTML errors to eliminate this as the cause.
You have the Use Shortcode option turned on
It is possible that you may have enabled the Use Shortcode?
option and forgotten to turn it off again or not realized what it does. If you have enabled this but not placed the shortcode itself inside any of your theme’s template folders then the menu will not show.
Please try disabling this option first and then try again.