wizzud
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Displaying 1 level above and 1 level below.If I assume that you have 1 menu set up, where Procedures is a root item, and everything shown is below Procedures, then you appear to be requiring the immediate children of the Current Menu Item, plus the Current Item’s siblings, plus Current Item’s ancestors back to level 2, plus all level 2 items.
Primary Filter
Branch : Current Item
Secondary Filter
For Depth : 2 levels (ie. the current Item and its immediate children)
Inclusions
Branch Ancestors : to level 2
Branch Siblings : Yes
Level : 2Shortcode equivalent…
[cmwizard menu=NNN branch=current depth=2 ancestors=2 include_level="2" siblings=1/]
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Problem in displaying menu inside the pagesContinued offline.
Problem resolved itself(!).Simple answer is Yes.
You might want to look through this thread?
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Assign to specific pageI’m very sorry but I don’t fully understand the question.
CMW has the ability to filter (within reason) a menu’s items based on the current webpage being displayed. Other plugins provide the ability to show/not show specific widgets, and/or widget areas, on specific webpages.
As far as “appear in a dropdown” goes : do you mean that you want the CMW-produced menu to be displayed as a SELECT element?
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] 4 level items-siblings questionApologies for the delayed response. For some reason I didn’t get notification of your post!
You need :
“Show the current menu item (Primary Filter/Branch : Current Item
) and its immediate children (Secondary Filter/For Depth : 2
), plus all the root level items (Inclusions/Level : 1
).”Shortcode…
[cmwizard menu=16 branch=current depth=2 include_level="1"/]
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] CSS to override child indenting issue1.
Spacing between items :
You currently have 5px top & bottom margins on the LI items; you could increase it to, say, 10px using (for example)….widget ul li { margin: 10px 0; }
Font size :
Add something like (for example)….widget li a { font-size: 1.1em; /*use a px value if you prefer*/ }
Obviously, if you want to change the font-family, or letter-spacing, or whatever, then you can do it there as well.
2.
Indentation :
Your stylesheet is removing all indentation. To add it back (for example)….widget ul ul, .widget ul ol { margin-left: 1em; /*use a px value if you prefer*/ }
NB : You have set the sub-menus to use OL (hence the inclusion of the
.widget ul ol
rule above) but since bullets/numbering are not displayed (because of the CSS), there’s no point; you might as well leave sub-menus at the UL default.As always, I would recommend that you use a child theme to make styling modifications – unless your Jobify theme allows for custom CSS to be added via its theme options (some themes do, most don’t). WordPress has articles about using child themes, and it’s possible that your theme provider may have specific instructions as well (maybe even an example).
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] CSS to override child indenting issueDo you have a web-accessible url that I can look at? It makes it far easier to provide CSS that works, even it then needs tweaking a bit.
Forum: Plugins
In reply to: [WP Photo Album Plus] bug : unnecessary/undesirable ajax request?You’re welcome.
Try setting your widget up such that the shortcode equivalent resembles
[cmwizard menu=NN branch=current depth=2 ancestors=1 ancestor_siblings=1 siblings=1/]
In English…
“Show the current item, its immediate children, and its siblings; and include the current item’s ancestors back to root, with all their siblings.”…and with corresponding option inserts…
“Show the current item (branch=current
), its immediate children (depth=2
), and its siblings (siblings=1
); and include the current item’s ancestors back to root (ancestors=1
), with all their siblings (ancestor_siblings=1
).”With CMW you’d have to hook into a filter and code some PHP that created a duplicate of the output, but as a SELECT rather than a list. Then you’d have to supply the CSS that responsively displayed one or the other depending on screen widths.
An easier way might be to use something like the jQuery Responsive Select Menu plugin? (I searched WordPress for “menu to select” to find that, and I’m sure there will be others as well)
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Horizontal menu spacingIt looks as though you’ve managed to sort this out?
Yes, it is.
You might find this thread useful? … https://www.ads-software.com/support/topic/collapse-and-expand?replies=14Okay. Seems like you have 2 questions…
1. Can I use CMW to show the current menu item, with its children and its ancestors?
Yes, you can (Branch = Current Item, and Ancestors back to root).
2. How and where do I put the CMW instance on a category page?
My first advice would be to put the CMW widget into a widget area, such as a sidebar. That’s how CMW was originally intended to be used, and widget areas can be dynamically controlled (as in show or don’t show) using other plugins. Also, themes often provide styling for menus within their sidebars.
If you don’t have a suitable widget area, or can’t use the widget areas you have (for whatever reason) then consider creating one you can use. If you don’t have the skill, or inclination, to modify your theme, then there are various plugins that provide adhoc widget areas.
If you can’t use the CMW as a widget then you might be able to use it as a shortcode … if you have somewhere to place the shortocde. Shortcodes can be placed anywhere that your theme will handle. This usually means a post’s content, and often its excerpt. Text areas in widgets are quite often enabled for shortcode usage as well. And you can always code it directly (carefully!) into a theme’s template file. There are all sorts of places that a shortcode could be placed – such as Category Description – but whether or not it gets recognised, resolved, and output to the webpage, is down to your theme (and possibly other plugins).
On some of your category pages, you already have something that seems to display a list (
UL.subcat
) of child categories(?). I have no idea how that list is produced.
Since a category page does not have its own post content – because it displays excerpts from a number of posts – you’re going to have to find some other way of getting the shortcode onto the webpage. How you go about it depends on where you want the output to appear. If you want the CMW instance to appear in place of theUL.subcat
that some of the category pages currently show, then I suspect/guess that you will have to edit a theme file (possibly a template file, or you might be able to hook into an action/filter from the functions file). Personally I wouldn’t try replacingUL.subcat
, I’d just remove it and place CMW somewhere better suited and more easily stylable … but then it’s not my site.So, bottom line is : Yes, CMW is perfectly capable of producing the filtered menu that you require. However, placement of the CMW instance within your webpage – whatever page that might be – requires a decision as to where you want it, possibly governed by your ability to get it there. That’s down to you, your client, your theme, and whatever other plugins you might find useful.
I’m sorry but I’m getting a bit lost. I need to take a step back.
From the URL above I can see that you have a WordPress “page” whose content contains a CMW shortcode : that shortcode displays one specific menu (#429) in full, and that menu contains only “category” type menu items.
If I relate that menu back to your original post then you have a menu that begins…- Acciaio Nodi [= 1) Category]
- Altri [= 1.a) subcategory]
- Pilastri e Fondazioni [= 1.b) subcategory]
- Pilastri e Travi [= 1.c) subcategory]
In your original post you said…
when I’m in the Category page i see all the subcategory path
…so I’m assuming that when I navigate to Acciaio Nodi then I should see, somewhere on the page, Altri, Pilastri e Fondazioni and Pilastri e Travi as part of a CMW menu. But I don’t see that!
None of the [sub-]category pages in that menu (which are “archive” type pages, as you’d expect) have any CMW instance on them. I was expecting to see a CMW widget somewhere? Probably in the sidebar?So, when you navigate to any category page, how and where are you intending to output (all or part of) that menu of categories (#429)?
On any [sub-]category page that has a corresponding item in your menu, I would expect to see a CMW widget in the sidebar, for menu #429, that shows (at least) any child items of the current menu item, plus all ancestors of the current menu item. Is that not what you were originally asking about?
If I’ve totally misunderstood your query then I apologise, but at the moment I’m a wee bit confused.
Do you have a web-accessible site I can look at to see this happening?
What is the shortcode equivalent of your options?