[wp-trac] [WordPress Trac] #14354: Abilty to add classes to menu items

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 19 18:48:12 UTC 2010

#14354: Abilty to add classes to menu items
 Reporter:  rfair404     |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Menus        |     Version:  3.0            
 Severity:  normal       |    Keywords:                 
 Sure would be nice if I could add classes to the menu items created by
 wp_nav_menu. For example, I could add a class "last" to the last li
 generated by the menu, therefor being able to style it differently from
 the rest. same with the first. I think it would be nice, from a theme
 development standpoint for this to be default. But also be nice if I could
 add class contact or something to a specific element, therefor being able
 to put a custom background image, etc in my stylesheet.

Ticket URL: <http://core.trac.wordpress.org/ticket/14354>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list