If you have a question or problem that is not covered here, please use the Support forum.
Why can’t I see the Navigation Menus metabox on the Menus page?
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).
Why isn’t an included menu appearing in the menu I put it in?
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!
Why doesn’t the plugin stop me setting up a perpetual loop?
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.
How do I resolve an unintended perpetual loop?
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.
Can I prevent the notification of a perpetual loop, while keeping WP_DEBUG enabled?
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.
Can I get notification of perpetual loops without having to enable WP_DEBUG?
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).
Can I enable the menu replacement for Admin pages?
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.