Custom CSS class or ID on menu items that have a Submenu

You could use jQuery, if you’re open to a jQuery solution? <script type=”text/javascript”> jQuery(document).ready( function($) { $(‘#your_menu_id li’).has(‘ul’).addClass(‘has_children’); }); </script> Slight modification of what i posted here basically. Any menu item with a submenu will then have a has_children class you can target in the stylesheet.. #your_menu_id li.has_children { /* your styling */ } #your_menu_id … Read more

Menus – Open items in new tab/window?

In your WordPress admin panel, go to Appearance > Menus. Select Screen Options in the top right corner. Enable the property Link Target. Now you can set your link target element in your external link.

Custom menu deletes itself

Not sure it will help, but here is sort of what you are talking about: http://core.trac.wordpress.org/ticket/14134 Try adding: suhosin.post.max_vars = 5000 suhosin.request.max_vars = 5000 to your php.ini

Menus, but not by theme location

wp_nav_menu takes an optional argument called menu, which will fetch any menu by name, slug or ID. If you just want post objects (or anything but the menu HTML), wp_get_nav_menus is the way to go. Otherwise, use wp_nav_menu. If you need it to return the menu HTML instead of echoing, there’s an argument for that … Read more