Feature suggestion: allow default menu PLUS shortcode option
-
Responsive Menu is an outstanding plugin. Thank you for the service this offers.
Below is a suggestion for a feature that might be useful. (I have no idea how hard this might be to implement, however.)
Background: By turning Responsive Menu’s shortcode option on (ticking the box), RM will NOT deliver any responsive menu to any site page unless the header of that page contains the shortcode calling for RM and indicating which menu to serve. This allows you to display specific menus on different pages, which is great, but you must ensure that the correct shortcode appears in the header of every page, even if you just want to display the default menu; no shortcode = no menu at all.
Helpful instructions for this feature are here:
https://responsive.menu/faq/how-do-i-show-different-menus-on-different-pages/Suggestion: It would be great if the plugin also offered users a checkbox option like this:
“Responsive Menu should deliver the default responsive menu UNLESS a shortcode in the header of the specific page indicates a different responsive menu for that page.”
This became an issue for me recently when I discovered that my default header.php file had no shortcode reference to RM, but some of our site’s subpages called a custom header_x_.php file, which did call for a specific custom RM menu.
When I turned the shortcode option ON in the RM settings panel, the custom subpages showed the correct responsive menu, but the rest of the site had no menus. When I turned OFF the shortcode option in the RM settings panel, then all main site pages displayed the default responsive menu, but the custom subpages delivered only a php error and no menus.
To fix this required editing not just the specific subpages with their specific shortcode calls to RM, but also editing the generic header.php file to add a conditional php call to the shortcode depending on conditions.
An option like the one described above would simplify the process of adding, removing, and locating the default and other specific responsive menus on various pages.
One last tip to RM users…if you are using a caching plugin on your site, you may need to delete the stored cache files and temporarily turn off your caching plugin while making changes to your Responsive Menu settings so you can see your changes on your site. Otherwise, your caching plugin may be delivering old cached pages that do not have Responsive Menu enabled. (I learned this the hard way, also.)
- The topic ‘Feature suggestion: allow default menu PLUS shortcode option’ is closed to new replies.