[wp-trac] [WordPress Trac] #14250: wp_nav_menu separator and first last class
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 9 08:58:28 UTC 2010
#14250: wp_nav_menu separator and first last class
-----------------------------+----------------------------------------------
Reporter: spathon | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: wp_nav_menu
-----------------------------+----------------------------------------------
In some of the wp sites I do there is a separator between the menu items
and I think it would be good if there were some argument to add separators
to the wp_nav_menu($args).
Like now you can use link_before or link_after but you don't want the last
or first to have it.
Example:
Start | About | Contact
And it would be good if there were a first and last class on the items
Example:
.menu-item-first .menu-item-last
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14250>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list