Plugin / Menu In Menu

Roger Barrett

Frequently Asked Questions (FAQ)

Check your Screen Options (top of the page). Screen Options give you the ability to turn off/on metaboxes, and it’s possible that Naviagtion Menus is turned off : just activate the checkbox in Screen Options and the Navigation Menus metabox should appear (assuming the plugin is activated, of course).
It’s possible that the inclusion might have created a perpetual loop, and the plugin won’t allow that – it simply refuses to output any menu that is contained within itself (ie. has itself as an antedecent). If you enable WP_DEBUG you will see a message if the plugin has taken action to prevent a perpetual loop. If it’s not a perpetual loop situation then it may be that another plugin is getting in the way. And that is a lot harder to resolve!
Because they have the potential to be used deliberately. Take an example where Menu A includes Menu B, and Menu includes Menu A. If you output Menu A, you’ll get Menu A with Menu B included. If you output Menu B, you’ll get Menu B with Menu A included. They may be occasions where this is useful.
Enable WP_DEBUG and check the message produced by the plugin. Part of the message gives the names of menus that have included one another, the last one being the one that would have caused the loop. Somewhere preceding it you should see the same menu name. The first name was the menu that was requested to be displayed, and it included the 2nd, which in turn included the 3rd, etc. You can use this to determine how you need to restructure your menus so as to avoid any perpetual loops.
Yes, there’s a filter you can hook into. Add the following code (modified to suit) to your theme’s functions.php (or wherever you feel is more appropriate)… add_filter( 'mim_notify_recursion', your_function_name ); function your_function_name( $notify ) { return false; } By default, $notify is false unless WP_DEBUG is enabled.
This is the flip side of the previous question, and you simply need to return true – instead of false – from a ‘mim_notify_recursion’ filter (see above).
Yes, there’s a filter you can hook into. Add the following code (modified to suit) to your theme’s functions.php (or wherever you feel is more appropriate)… add_filter( 'mim_expand_menus', your_function_name ); function your_function_name( $expand, $current_screen ) { //ex. enables everywhere except Menus admin page... return $expand || empty( $current_screen ) || $current_screen != 'nav-menus'; } By default, $expand is true unless running Admin.

Ratings

5
3 reviews

Rating breakdown

Details Information

Version

1.0.0

First Released

01 Apr, 2016

Total Downloads

7,759

Wordpress Version

4.3 or higher

Tested up to:

4.5.13

Require PHP Version:

-

Tags

There is no tag found

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.