[wp-trac] [WordPress Trac] #13379: wp_nav_menu item classnames
WordPress Trac
wp-trac at lists.automattic.com
Thu May 13 20:29:58 UTC 2010
#13379: wp_nav_menu item classnames
----------------------------+-----------------------------------------------
Reporter: silencematters | Owner: nacin
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 3.0
Component: Menus | Version: 3.0
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Comment(by silencematters):
Good points. I agree that doing it just for just pages might be a bit
narrow.
It might be the most flexible if defined as just adding the post-slug as a
classname, which spans across many custom post-types and taxonomies.
The current list of classes on a menu-item are:
{{{
<li class="menu-item menu-item-type-post_type menu-item-object-page">
}}}
Adding one more classname would enable a world of styling possibilities.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13379#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list