Show branches or levels of your menu in a widget, or in content using a shortcode, with full customisation.
If you have a question or problem that is not covered here, please use the integrated Support forum.
= Are there any known problems?
Yep, 'fraid so :
The widget will only recognise one "current" item (as of v2.0.2, that's the first one encountered; prior to that it was the last one found). It is perfectly possible to have more than one menu item marked as "current" (adding a page twice to a menu, for example), but if CMW has been configured to filter on anything related to a "current item" it can only choose one. This may also cause problems with some plugins that can affect a menu (PolyLang's language-switcher is one known example).
The widget does not play well with PolyLang's language-switcher when it has been added to a menu that the widget is filtering.
I don't know. With all due respect (and a certain amount of confidence in the widget) I would venture to suggest that it is probably due to the option settings on the widget/shortcode. The quickest way to resolve any such issues is to use the widget's interactive "assist", and ensure that you set the current menu item correctly for the page(s) that you are having problems with. However, I am well aware that I not infallible, and if you still have problems then please let me have as much information as possible and I will endeavour to help. (Please note that simply reporting "It doesn't work" is not the most useful of feedbacks, and is unlikely to get a response other than, possibly, a request for more details).
Once you are happy with the results, having tested all possible settings of "current menu item" (if it applies), then simply Save the widget. Alternatively, simply copy-paste the shortcode code produced by the "assist" straight into your post (you do not need to Save the widget!). The widget does not have to Saved to test any of the options.
Yes. Use the widget's interactive "assist" capability (see above). Note that you do not need to have the widget in a sidebar : the "assist" also works off a widget that is in the Inactive Widgets area of the widget admin page.
Use the widget's interactive "assist" (see above). Within the representation menu structure, each menu item's id is set in its title
attribute, so should be seen when the cursor is moved over the item. A simpler way is to check the
Items option : the "assist" will
then show a checkbox beside each menu item and you simply [un]check the items as required. Each selection will be reflected back into the
Items settings, and also in the shortcode code.
Alternatively, go to Appearance, Menus and select the relevant menu; hover over the edit, Remove, or Cancel link for an item and look in
the URL (the link's href) for
menu-item=NNN ... the NNN is the menu item id.
It was a close call, but since the Output options can extend the final list - and the check for "current menu item" is made against the
entire resultant list - I decided that
Must contain Current Item was more of a "final output" check than an initial filter.
Requires: 3.0.1 or higher
Compatible up to: 3.8.1
Last Updated: 2014-1-8
2 of 5 support threads in the last two months have been resolved.
Got something to say? Need help?