wizzud
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Child items do not indentThere’s no Custom Menu Wizard instance on that page.
However, you do have a standard Nav Menu widget set up, and, as you can see, that has no indentation on its sub-menu levels either. Which makes CMW’s lack of indentation … unsurprising?
CMW does not provide any styling at all. It filters the content of the menu, not how it looks : that’s the theme’s job.
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Child items do not indentThe lack of indentation in the displayed menu is probably down to your theme’s CSS.
If you have a web address I could look at…?Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Does this work with WooCommerce?Yes, I believe so. Especially since CMW doesn’t actually do any “reading” of categories at all, be they in Woocommerce or core WordPress.
Do you have a specific setup – menu, product category, product – that is causing you problems?
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Remove Link…If you give your label items a class – the CSS Classes box for the item, once you’ve added it to the menu – then you can target those links using the class…
.my-label-class { /* css for the LI list item */ } .my-label-class > a { /* css for the contained A anchor */ }Alternatively, you could remove the URL from your label items, and try the CSS3 :not() selector…
a:not([href]) { /* css for an A anchor that has no href attribute */ }Ok.
Umm … just to clarify, can I assume that this is still a problem with the wp-all import?
In other words, putting the space-separated alternative option directly into a page/post works ok, but it fails after being imported?I just want to make sure that CMW is doing what it’s supposed to, because all the following are equivalent (and work for me, I’ve just tried them)…
...alternative="no-current,menu"...
...alternative="no-current menu"...
...alternative="no-current , menu"...
...alternative="no-current ,,,, menu"...
...alternative="no-current , , , , menu"...
(the CMW parser splits the quoted string parameter on one-or-more spaces/commas)I don’t know if it well help, especially given that you’ve now worked around it, but you can switch the comma out for a space? eg.
... alternative="no-current menu" ...Phew! Took me half an hour to spot it, but…
You just need to those same classes to the definition of the Alternative, ie.
[cmwizard menu=15 title="Acupuncture Meridians" branch=current depth=2 depth_rel_current=1 include_level="1-" siblings=1 widget_class="hidden-xs hidden-sm" alternative="no-current,menu"]title="Acupuncture Meridians" exclude_level="2" widget_class="hidden-xs hidden-sm"[/cmwizard]The only option carried over from the original to the Alternative is the menu id, so you need to repeat the widget_class option in the Alternative.
Ah! Glad you’ve got it sorted, and thanks for your patience.
One last thing : if the plugin you were using to generate those child items is a publicly available one, from the WordPress repository, would you mind telling me what it’s called so I see what it does, how and when it does it, and whether I can get CMW to play nicer with it?
Is your site web-accessible, so that I can take a look?
I’m sure you’re on the latest WordPress version, but may I ask what other activated plugins you have, and what theme you’re using? Because if the Assist isn’t showing the same structure of menu items as the Custom Menu shows in Appearance > Menus, then there’s something getting in the way (I hope!)
In the Branch dropdown (under Primary Filter), do the options there also represent the same item structure as shown in the Assist (ie. all children under the last Parent)? Or does it show the child items under their correct parents (ie. as structured in Appearance > Menus)?
Sorry about all the questions, but I need some help to try and figure out why CMW is having these problems. It shouldn’t be this difficult!
Does this do what you want…?
[cmwizard menu=12 branch=current start_at="2" include_level="2" contains_current="secondary"/]“Show the current item’s branch, from its level-2 item downwards, and add in all level-2 items … but only show output when the current item is at or below level 2 (ie. not when Root is current item)”
And, if you don’t mind me asking, are you using the widget’s Assist to help determine the option settings?
Can you show me your current equivalent shortcode, please?
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Conditional Menu DisplayDo you have a web-accessible site that I can look at?
Forum: Reviews
In reply to: [Custom Menu Wizard Widget] The greatest Menu Widget available.Appreciated, thank you!
With regard to your other question (which you appended to this resolved thread)…
Firstly, the reason you’re always getting a “+” or a “-” in the include_level setting is because you’re selecting (for example) “1 and above” or “1 and below” as the inclusion Level : just select “1” instead.
If you want to exclude Root from the output, then set
Starting atto 2.
If you want to always show all the level 2 items (Parent A, Parent B, etc) then set inclusionsLevelto 2.
If you don’t want anything shown when Root is the current item, then you’ll need add a qualifier ofCurrent Item is inSecondary Filter.There are a number of plugins that allow you to conditionally run widgets – Dynamic Widgets is one (that I have used, though not for the mobile/desktop condition), Conditional Widgets is another (that I haven’t tried), and there are undoubtedly others as well.
The 2 I’ve mentioned seem to only distinguish between “mobile” and “desktop” (I don’t know how), so if you need more options than that then you’ll need to do a bit more investigation.