Plugin Author
wizzud
(@wizzud)
So it’s Branch=Current Item, Starting at 1 (root) (primary & secondary filters respectively)?
Thread Starter
keri23
(@keri23)
Using that I got a shortcode output that looks like this:
[cmwizard menu=329 branch=current start_at=”-1″ depth=2/]
This is giving me the menu I want on the subpages (showing only their siblings and parent). But on the main pages, the only thing in the menu is the current page. What do I need to add to also display the children menu items (but nothing else) on those main pages?
Thank you very much for your help.
Plugin Author
wizzud
(@wizzud)
Using my suggestion should have resulted in a shortcode equivalent of
[cmwizard menu=329 branch=current start_at="1"/]
However, seeing as you only have 2 levels in your menu, it makes no difference because the parent of a root level item is still that root level item. And with a setting of depth 2, in a 2-level menu, CMW will show both levels.
Using your settings, given that one branch of menu #329 looks like…
- Page A (at root level, level 1)
- subpage 1 (at level 2, immediate child of Page A)
- subpage 2 (at level 2, immediate child of Page A)
…then if Page A is current, CMW should show 2 levels of #329, starting with Page A‘s parent (there isn’t one so it uses Page A), ie. Page A, subpage 1 & subpage 2.
If subpage 1 is current, CMW should show 2 levels of #329, starting with subpage 1‘s parent (Page A), ie. Page A, subpage 1 & subpage 2. Likewise if subpage 2 is current.
My understanding of your requirement is that CMW should show Page A, subpage 1 & subpage 2 – and only those items – if any one of those 3 pages is the current page?
Does the CMW widget Assist produce the output you are after, using the settings you have given?
Thread Starter
keri23
(@keri23)
Hi,
This still gives me the same issue with the menu being correct on the subpages, but not being able to display the children on the main pages.
I really appreciate all of your help and quick responses.
I think I’ll just the regular Custom Menu plugin for this.
Plugin Author
wizzud
(@wizzud)
Do you have a web-accessible site that I can look at?