menus

How do I pass an argument to my custom walker?

I’ve set up a custom walker, and it works as desired when I hard code my variable. What I want is to be able to call my walker and pass it a variable[...]

Add 'has_children' class to parent li when modifying Walker_Nav_Menu

I’m writing a customised walker class for wp_nav_menu and want to be able to specify if an li contains a submenu. So I want my markup to be: <li[...]

wordpress custom walker for thumbnails with custom menu

I’m still very novice at PHP so any help is greatly appreciated. Typically I have found the codex to be very helpful but it appears custom walkers[...]

List WordPress Custom Menu's active parent level's children as separate menu

I have a structured Custom Menu: parent 1 children1_1 children1_2 parent 2 children2_1 children2_2 parent 3 parent 4 children4_1 etc. I want[...]

Error "The given object ID is not that of a menu item" on menu with 40+ items

When ever I try to add menu items past about 40 I get an error “The given object ID is not that of a menu item” and many of my menu items will[...]

How to add a Custom Link to a Menu with an URL that is relative to the blog URL

Part of my work is to create WordPress websites. I usually work on my laptop until I have something good enough to be uploaded to the test server where[...]

Using Shortcodes in WP-Menus in WP 3.1 (via nav_menu_objects)?

I’ve found this new plugin http://wpsmith.net/wordpress/creating-multiple-custom-menus-in-wordpress-3-1 ^(http://www.netaksharee.com/goto/http://wpsmith.net/wordpress/creating-multiple-custom-menus-in-wordpress-3-1) that[...]

Navigation menu with children shown only for current page

I’ve been playing around with WordPress’ menu functionality (wp_nav_menu and wp_list_pages) to build a menu for my site. It’s coming[...]

How do I remove UL on wp_nav_menu?

I search on this site and found many answers ^(http://www.netaksharee.com/goto/http://wordpress.stackexchange.com/search?q=wp_nav_menu) for this question.[...]

Set menu active state for custom posttype and category, given custom taxonomy term

How to set the menu active state for a custom posttype and category, given a custom taxonomy term? I have a custom taxonomy: region, a custom posttype:[...]