[wp-testers] wp_nav_menu item classnames

Jeremy Zilar jeremyz at nytimes.com
Mon May 10 02:16:48 UTC 2010

When using the new *wp_nav_menu*, and selecting existing Pages as your menu
has anyone been able to output the post_name (Page slug) as a classname for
each specific menu item?

It seems you are able to define the classname when you create a custom link
for your menu, but it doesn't define a classname when using an existing page
as a menu item.


More information about the wp-testers mailing list