The walker tag has no wiki summary.
32
votes
3answers
29k views
Menu items description? Custom Walker for wp_nav_menu()
Normal Wordpress Menu looks like:
Home | Blog | About us | Contact
But I've seen many pages with descriptions under these links:
Home Page | Our Blogs | About us
| ...
2
votes
4answers
2k views
Adding a class (arrows) to main menu links that have children?
I'm wondering if it is possible to add different classes to second/third/fourth/etc-level items that have children in Appearance > Menus tree?
That's how I call the menu:
<?php $menu_args = ...
2
votes
1answer
1k views
How do I dynamically populate wp_nav_menu from a custom taxonomy?
I know this question has been asked in different forms. But as far as I can tell from searching Google and SE/WP it's never been satisfactorily answered.
Let's say I have a taxonomy clubs and a ...
1
vote
2answers
1k views
Bar separated navigation by extending Walker_Nav_Menu
I have the following menu in my header:
<?php
$args = array(
'menu' => 'Main Menu',
'container' => false,
'depth' => 1,
'items_wrap' => ...
2
votes
1answer
137 views
Determine if a navigation item has children
I am trying to determine if an item has a sub-item with depth 1 or higher. I cannot find anywhere if there is some function/query I can write that grabs the current item looks in the database if it ...
0
votes
2answers
707 views
Adding html elements to wp nav menu
I know how to create wp menus using the functions.php and diaplay it in my sote wherever the menu is required (e.g top menu, footer menu)
I even know how to style it using custom CSS.
I would like to ...
1
vote
1answer
104 views
Customize comment list markup
While creating a new theme, we'll have to customize the comment flow. For doing so there are two functions: wp_list_comments() and get_comments(). I am not very sure how to style the inner elements ...
1
vote
3answers
2k views
How to count nav menu items?
I'm creating a custom walker for my nav menu. The goal is to split the menu in to columns like so:
I can easily determine where I am in the list by looking at $item->menu_order. What I don't ...
0
votes
0answers
19 views
How to get the excerpt in nav menu walker? [duplicate]
Possible Duplicate:
How can I access the “description” of a menu item?
This leads on from my previous question. I now need the excerpt instead of the nav menu description as not all pages ...