Show branches or levels of your menu in a widget, or in content using a shortcode, with full customisation.
This plugin is a boosted version of the WordPress "Custom Menu" widget. It provides full control over most of the parameters available when calling WP's wp_nav_menu() function, as well as providing pre-filtering of the menu items in order to be able to select a specific portion of the custom menu. It also automatically adds a couple of custom classes. And there's a shortcode that enables you to include the widget's output in your content.
Important! This plugin provides nothing - zip, zilch, nada, bupkis - in the way of frontend styling! The appearance of any final output is down to you and your theme, so if you're just looking for something to re-style a menu then I'm sorry but this plugin won't do that!
[cmwizard], available to run the widget from within content
You may find that the documentation here is truncated, so I have reproduced the readme.txt as cmw-doc.html. This file is also now included in the plugin download, and is linked to from the Custom Menu Wizard entry on the admin Plugins page. My apologies if this causes - or has caused - any confusion.
Please, do not be put off by the number of options available! I suspect (and I admit that I'm guessing!) that for the majority of users there are probably a couple of very common scenarios:
Show an entire menu...
[cmwizard menu=N title="Your Title"/]
Show the current menu item, plus any descendants...
[cmwizard menu=N title="Your Title" branch=current/]
Show just the descendants of the current menu item (if there are any)...
[cmwizard menu=N title="Your Title" branch=current start_at="+1"/]
Always show the top level items, but when the menu contains the current item then also show that current item, with its ancestors and immediate children...
[cmwizard menu=N branch=current depth=2 ancestors=1 include_level="1" alternative="no-current,menu"]depth=1[/cmwizard]
If you like this widget (or if you don't?), please consider taking a moment or two to give it a Review : it helps others, and gives me valuable feedback.
Requires: 3.9 or higher
Compatible up to: 4.5.3
Last Updated: 3 months ago
Active Installs: 20,000+
1 of 5 support threads in the last two months have been marked resolved.
Got something to say? Need help?