wizzud
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Show Post list on scrolloverSorry, No.
CMW only works with the menu items themselves, not the content of the page that any of the menu items point to. CMW does not do any checking regarding the validity of the menu items – whether a page/post/category/tag exists, or a category/tag has any relevant posts to display – it merely filters the menu items.If you’re feeling adventurous, it’s perfectly feasible to code up a custom plugin that, for example, does an ajax call on mouseover to retrieve and show a count/list of relevant posts (some javascript and an ajax handler) … but it’s not something that I’d consider putting into CMW itself.
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] CSS class for sub menuHi.
To get your 2nd style working, simply add a space between .widget_custom_menu_wizard and .sub_menu, eg..widget_custom_menu_wizard .sub-menu li { font-size: 8pt !important; }The sub_menu class is added to child UL elements by WordPress. CMW adds its own classes, prefixed with
cmw-. Any class(es) can be used, depending on what you need to do and how specific you need to be.Hi.
1. Well, the answer is Yes … but it’s not something that you can do via the Custom Menu Wizard plugin. CMW does not change the URL that a menu item points to, so it cannot affect how the resultant page gets displayed.
If you need to change the way that a category page lists its posts then you will need to make a change to your theme’s template files.2. I’m sorry, but the Custom Menu Wizard plugin only concerns itself with custom menus and the items that are attached to them. CMW does not distinguish between a menu item that points to a specific page and a menu item that points to a tag listing : both are merely a single menu item.
3. At present, No. CMW only offers list output.
I notice that you seem to be outputting the entire menu, ie. no filtering? If you don’t need to filter the menu items then I would suggest that it might be worth investigating other menu presentation plugins, and see if any provide output as a SELECT. CMW might be overkill for your needs?I’m sorry I couldn’t give you a more positive response.
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Hide empty categoriesSorry, No.
CMW only works with the menu items themselves, not the content of the page that any of the menu items point to. CMW does not do any checking regarding the validity of the menu items – whether a page/post/category/tag exists, or a category/tag has any relevant posts to display – it merely filters the menu items.Sorry for the delayed response, I missed the notification…
Yes.
Primary Filter
Branch : Current Item
Secondary Filter
Starting at : 1 (root)
Inclusions
Level : 1If you want to show the root items even when the current item is nowhere within the menu structure then you’ll also need an Alternative something like:
On Condition …Current Item is NOT in… Menu
Then switch settings to [cmwizard depth=1/]Forum: Plugins
In reply to: [Custom Menu Wizard Widget] CM Wizard as stopped working!No problem.
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] CM Wizard as stopped working!I going to assume that the page in question is http://www.sueorreal.com.au/therapy-services/ ?
There is nothing that can make the plugin simply stop working from one day to the next unless something has changed!
Has the menu changed? : I notice that the menu item appears to be “Therapy Services”, yet the shortcode (using a string rather than an id) has
branch="services"?
Has the page been edited and/or the shortcode been changed?
Is the CMW plugin still installed and active?
Has anything else changed?Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Navigation Arrows RemovedProbably. It depends what was producing those navigation links and how their styling was being controlled.
Create a sidebar with both “normal” and CMW navigation links in it, and inspect the elements : it may well be that adding a class to CMW’s options will be all that is needed.
If you have a web-accessible page that has both on it, I will take look?Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Horizontal menu?@presseroo
As I stated above, “CMW does not supply any styling at all”.You’ve kindly provided a partial extract of the code produced by the CMW shortcode and, as you can see, there are no inline styles. Also, if you look at any of the CSS rules that are being applied to any of the elements, you will notice that they all come from your Onetake theme.
Here’s 1 way to make your specific menu display horizontally:
#menu-main { list-style-type: none; margin: 0; padding: 0; } #menu-main li { display: inline-block; margin: 0 2em 0 0; }Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Horizontal menu?As noted in one of the FAQs, CMW does not provide any styling at all. There is nothing in the CMW options that specifically/knowingly provides for outputting a menu that displays horizontally: it’s purely down to your theme. With no other influences, the output will display vertically because that’s the nature of a list (UL/OL).
You can change the styling of any menu using your theme, possibly in conjunction with a specific id and/or classes set on the CMW menu in question. Exactly how you do that depends on all sorts of things (which is why CMW leaves it you!), such as :
- your theme may already have CSS set up for a horizontal menu, whereby you simply need to add a class into the relevant CMW option
- your theme may have an option that permits entry of custom CSS via admin, or you may have to modify a stylesheet (preferably in a child theme)
- you may just want the level 1 items to be horizontal, with sub-menus menus vertical, or you may want all levels to be horizontal (or you may only have 1 level)
- you may want javascript interaction to show sub-menus … or not
- you may want any number of tweaks to spacing, colours, alignment, fonts, responsiveness, etc
One way to get things “horizontal” is to float them (usually left). Another way is to set them to display inline, or inline-block. Whichever you use, you probably need some sort of qualifier (id or class) to target just that menu and its elements.
If you were to provide an accessible example, and maybe expand a bit on your requirements (rather than just “horizontal”), then I might be able to be a bit a more specific with the CSS you could use?
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Hierarchival Menu@paul
I see you’ve switched to using the JQuery Categories List plugin, which makes more sense than creating (and maintaining) a custom menu of categories/sub-categories.Thank you, much appreciated!
Hmmm, perhaps I should have paid more attention to the post title, and not got distracted by the “structure”!
Going by the title, it would seem that these “hidden pages” are simply not (currently) in the menu?
In which case, depending on whether the menu is being used elsewhere or not, you might be able to add these “hidden pages” to the menu and then Exclude them in CMW?
You could position them where appropriate for the desired output set (at the “Doc Page 1” level, for example), and set a Qualifier to say Current Item is in Menu. This will then produce output – but not the Excluded items – even when the user is on one of those “hidden pages”.This would only work if the menu was not being used elsewhere and in such a fashion as to display those “hidden pages”, because while CMW could exclude them, other display mechanisms might not.
I’m sorry to be a bit dense, but would you mind explaining what you mean by…
…some hidden pages in some of the sections.
In what way are they “hidden”?
Is there a menu item for them, or not?
Is it the page that is “hidden”, or is it the menu item that points to the page that is “hidden”?
Are the pages marked as ‘Private’, so only viewable by logged-in users?
Are the menu items “hidden” by some specific CSS?You have a structure (presumably a menu structure) that has a sub-level of 3 items : “Doc Page 1″, Doc Page 2” and “Hidden Page”.
You have a CMW setup that, when on “Doc Page 1”, will output all 3 items at that level. It will do the same thing when on any other page at that level, including “Hidden Page” … so I don’t see the problem.Unless … maybe you don’t want the “Hidden Page” menu item to appear on any menu? In which case can you not simply Exclude it (Qualifying with Current Item is in Menu)?
Again, I apologise if I’m not grasping something obvious.
Forum: Plugins
In reply to: [Custom Menu Wizard Widget] Display children only when parent is clickedOn a fresh CMW widget instance…
Select your menu
FILTERS
Primary Filter
Branch: Current Item
Secondary Filter
Starting at: 1 (root)
Inclusions
Level: 1
ALTERNATIVE
On condition: Current Item is NOT in… Menu
Then switch settings to: [cmwizard depth=1/]The shortcode equivalent is something like (the id of the menu may well be different!) …
[cmwizard menu=2 branch=current start_at="1" include_level="1" alternative="no-current,menu"]depth=1[/cmwizard]Check it using the Assist!
Note that the settings above will always show the top level items regardless of what page you are on, due to the Alternative setting. (If you only wanted the menu to show when you were actually on one of the pages within the menu then you would not need to set the Alternative)