Menubar 4.7
Menubar 4.7 improves the PageTree and CategoryTree item types, adding the Exclude and the Headings multiselect fields.
The Exclude field lets you specify which pages or categories, if any, you wish to exclude from the generated menu tree.
The Headings field lets you specify which pages or categories, if any, you wish to display like headings, making them non clickable.
These two new fields, together with the Depth field introduced in Menubar 4.6, should offer you greater flexibility in building page and category menus.
As usual, you can find the Menubar documentation and download links in the main menu of this site. Thank you for your interest in Menubar!
Categories: WordPress Menubar
Does the ‘child of’ menu item work? It does not display on my site?
I hope you can help
Hi Paul,
that could depend on the template you are using, only multilevel templates like Suckerfish or Superfish can display children items. Did you try them?
First, thank you for such a great plugin! I searched long and hard a while ago for a good menu customization plugin, and this one was by far the best!
With the new update, I’m happy to see that the categoryTree nodes now add ancestor classes, which is great. However, I noticed that pages now no longer with have an ancestor class if the current page is a subpage of one of the menu items. Is there a way to still have this?
Thanks again for the great plugin!
Hi Aaron,
I’m going to send you a patch in this weekend. Thank you for your feedback!
That’s for the quick reply!
I actually think I found the issue. After some hefty digging, here’s is what I found:
In the wpm-db.php file, in the wpm_hilight function, under the Page switch option:
case 'Page':
if (is_page($item->selection)) return true;
return false;
I changed the code to this:
case 'Page':
if (is_page($item->selection) || wpm_is_descendant($item->selection)) return true;
return false;
This seems to have fixed it, but I’m not sure if this will effect anything else.
Hope this helps!
@andrea
Aaron,
that’s exactly the patch I had in mind, but I needed a little time to write and test it. So I’m glad that your problem is solved!
I have an odd probably ?.
I’ve been trying to figure out how to create a vertical menu for a sidebar that have category type sections which toggle open when a heading is clicked and toggle close when another is clicked/opened. I noticed the Superfish template kinda does this but with a hover effect. Is it possible to make it “on click” instead?
I’m just working on learning Javascript and JQuery so I’m not sure if I’m making sense.
Thanks much,
Rashell
Hello Rashell,
sure it’s possible to make a menu like that, and I have that feature in my (long) to-do list. As soon as I have a little time I’m going to implement it, so please stay tuned!
Hi,
Is there a way to export menu bar options from one installation to a different website? For example, if I have a local development version of site and I want to move the menu options to production site, how can I do that?
Thanks and best regards.
Hi Joe,
that feature is already in my to-do list, but it’s not available yet. If you are familiar with database edits, you could try to copy the ‘menubar’ option from the old database to the new, but you might have to edit your menu items in the new installation after the copy.
@andrea
Thanks Andrea! Yeah I had to manually create the Menu all over again but I guess could save some time by moving the options from DB. Do you have the exact options or table names to move the data from? Thanks in advance and your new site looks great !!
Andrea.. the menu bar works as advertised and has a killer look and action. Thank you. I’m using the ssf-yellow css.
I’d bet a lot of others along with me would love to know what part of the css of the skin needs to be used to add the same background to our widget title bars to match the menu. Not the suckerfish, just the depth and color scheme. Can you help?
Hi Jake,
the CSS change depends on the theme, I’m going to have a look at the Atahualpa theme you are using and I’ll send you some suggestions. Thank you for your patience!
@Joe
Hi Joe,
open the WordPress table wp_options in the old database, and locate the record with the value menubar in the option_name column. Open that record, and copy the value of the option_value field to the same location in the new database.
@andrea
oh, you’re working hard for a donation now!
Thanks for this plugin, it’s enabled me to completely mod a theme to suit us because I know the menu bar (with drop downs) will work fine. I had one question, how do you centre the suckerfish menu?
Hi Ellie,
I can suggest a manual method, that is adjusting the left and right padding, like this:
.sf-blue {...
padding: 0 50px;
...
}
Replace 50px with the value that works for you (you should experiment a little with it).
Andrea,
I had to leave a note to let you know how pleased I am with Menubar. Our site is not yet live, but you can take a look to see how I implemented it.
It took a little doing, but Menubar and Atahualpa seem to be playing nice. I had to spend some time on the code to get the multiline menus to work and be centered vertically, and to move the child menus off to the side, but I think it looks good, now.
Interestingly, I had an issue with the spacing above the child menus after I’d removed the template visual coding and replaced it with the dashes and white background. There was just enough of a space that the child menu would go away as the mouse moved from the parent down to the child. Once I figured out how to move the child menus up, I moved them over, as well.
Thanks, again for your great tool.
@andrea
Having any luck? It’s a very versatile theme and it seems it would be easy to put the needed code right into the widget title bar section option. Thanks for looking.
@Gregory
Hello Gregory,
thank you for your kind words, and good luck with your new site!
@jake
Hello Jake,
I’d try with these CSS rules:
background: #E6C30A;
font-size: 12px;
font-weight: normal;
Hope that helps!
@andrea
LOL – I did THAT! I was hoping you would come up with the ability to use the yellow suckerfish 2d menu as a background in the widget title area!
For the record, I thought it was a but much to do but also thought it would look pretty kewl if it could be done. Keep up the great work!
opps.. forgot to ask how to right align the last menu button.
Hi Jake,
to right align any menu item in Suckerfish or Superfish, enter the class name right in the CSS class field of that menu item. You can right align any number of menu items this way.
Hi, I am running version 4.3 of your menubar plugin. When I upgraded to version 4.7 using the auto upgrade within wordpress it wiped out my menu. I was able to roll back the update using a backup. Is there a way to upgrade to the latest version without losing my menu? It seems like the data was still in the database however when I reloaded the page it told me my menu was not available.
Hi Andrew,
I didn’t test the upgrade from Menubar 4.3 to 4.7, but I’m going to test it in the next few days.
Anyway it could be quicker for you if you upgraded from 4.3 to 4.4, then from 4.4 to 4.7. That’s because the 4.4 version introduced a major change in the data structure. You can find all the Menubar versions at http://wordpress.org/extend/plugins/menubar/download/.
PS: Before upgrading, please check with phpMyAdmin if a row with option_name = ‘menubar’ exists in the wp_options table; if so, delete that row before proceeding.
Just FYI: I’m testing WordPress 3.0 (alpha) and Menubar worked until a few versions back of the new (but still) alpha version; now it’s broken: I can’t save or add any menu item in Menubar admin section.
- WordPress 3.0 alpha (svn13807 – 2010.03.23 @ 20.03)
- Menubar 4.7 (no additional plugins)
- PHP 5.2.11 / MySQL 5.1.39
Hi Yoram,
your alert is very welcome, I’ll try to debug the problem in order to be ready for WordPress 3.0. Thank you very much!
You don’t have a timetable for fixing/debugging againt WP 3.0, don’t you? If — please let me know
I’m on the verge to go straight w/ WP 3.0 alpha and your great Menubar … and was very frustrated today after finishing the graphic (sprites) for my Menubar-Template to see that WP broke your Menubar. I won’t go w/ the new Menu Navigation of WP 3.0 because I decided that your solution is much more solid … well, until today. I hope it’s nothing complicate to fix your Menubar again to work w/ WP 3.0.
If you need any help, well … testing → please let me know.
Hi Yoram,
sorry I didn’t see your message earlier. Yes, unfortunately I can’t work on Menubar these days, and I think I won’t be available for a week or so. Then I will be more than happy to fix any compatibility issues with WP 3.0.
Is there any way I can set an item to be private? Meaning only logged in user will be able to see the menu item.
Thanks for a great plugin.
Hi Jbot,
I’ll try to add that feature in the next Menubar version, planned for the second half of April. Thank you for your patience!
Hi Andrea
Thanks for providing this great plugin
Is there a way to change the sorting of the sub-categories within the category tree with sub categories?
I use the plugin ‘category order’ to change the ordering (or sorting) of the sub-categories but it seems that menubar only sorts the sub-categories by name.
Thanks for your advise.
Peter
Hi Peter,
currently the only way to change the category order in Menubar is to edit the function wpm_get_cats in wpm-db.php (the ORDER BY clause). Sorry!
@ andera
thanks for the fast response. I changed the order to ID and it works nicely. Also, I am looking forward to the next menubar release, especially when I can set some menu points for logged in users only. That is something very very useful
Peter
Sorry to ask, but do you have any timetable/schedule for a WordPress-3.0-ready version of Menubar? I have to build some sites where I have to rely on your plugin and I would like very much to start these projects w/ WP 3.0 … which release date (at least RC) is due on may 1st.
Btw. your way of building a menu (w/ Menubar) is much better to handle and less resource (db queries) hungry than the new WordPress Menu feature … which will possible dos not make it into the first release anyway.
So thanks again for your great plugin.
Peter, Yoram,
unfortunately I can’t schedule the next Menubar release with precision, because it depends on my available free time, which is very limited lately. I hope to be ready before WP 3.0 final!
Ok, thanks for your frank answer — but if you have test-versions, betas, whatever ready and need someone to test it: say a word and I’ll happily volunteer w/ testing and sending you bug reports.
Hi Andrea,
thx for the great menubar plugin.
I’ve got one question: I’m using the Suckerfish 45 sf-vertical.css.
I want a greater distance between the different buttons. Which line do I have to change in the css?
Many thx and regards…
Hi Voodoo,
currently the button height is 26px. If you change 26px with another value, say 40px, everywhere in sf-vertical.css, you’ll get higher buttons.
This is a splendid plugin!
A couple of things, the link from the plugins page in admin goes to a white page (you moved?) and (off topic) what is the calendar you use?
Hi Nick,
I’m afraid the link is correct, but my (inexpensive) hosting sometimes doesn’t serve the page…
If you try again later, please let me know if I guessed right
The calendar on this site is the built-in iNove theme calendar. It’s nice, isn’t it?
@andrea
Hi Andrea,
thx for your reply!
One more question:
It’s not possible to add a css class to items within Basic_46 template, is this due to compatibility reasons? I want a specific item seperated from the others.
Thx again!
Hi Voodoo,
it’s always possible to add a CSS class to menu items, but you also have to add your CSS rules to the Menubar template stylesheet, if that stylesheet doesn’t have that CSS class built in already.
For instance in Basic_46 the b-red.css stylesheet has the right class built in, while b-blue.css and b-green.css have none.
Hi Andrea,
I love the plugin, makes making menu’s so much fun
But I am having one issue, I installed it, began making menus etc no problems but I got the following at the top of the website: “Please populate menu “thesis-nav”.
I am running 4.7 on thesis 1.7 wp 2.9.2
website is http://crowleyartists.com
Tks
bruce
Hi there, first let me say I love your plugin, I think it is one of the best for WordPress there is. This morning, I checked my website and my menu had disappeared – all my menu data was gone and I had to rebuild my navigation from scratch. Once I am done, is there a file that I can make a backup of so that if it happens again I can just upload the file, or is all the data getting written to the DB?
Thanks!
@Bruce
Hi Bruce,
to use Menubar with Thesis, you might try the Thesis Menubar Integration Plugin (http://thesis-menubar.pdclark.com/).
@Laetitia
Hi Laetitia,
all the Menubar data are stored in the database, so with a DB backup you can restore your site and your menus. Or, if you can edit the DB with phpMyAdmin, you could save and restore the ‘menubar’ option in the wp_options table.
Hi I love menubar I use it all the time .. I’ve just come across a problem in that the loading for the selection of static page just keeps loading and the available pages do not display.. its been working fine. I ve not added any new plugins, and I actually disabled them all to see if that helped ..any suggestions ? thanks Elana
Hi Elana,
it could be a transient problem due to site overload. If not, I’ll need to see the problem on your installation. Please let me know!