Ready to get started?Download WordPress

Plugin Directory

Navigation Menu IDs & Classes

To reduce the extraneous WordPress classes and add unique IDs to navigation menus.

Why bother?

  • WP bakes in a ton of extraneous, border-line-useless, IDs and classes on navigation menu LIs (are you really going to target id="menu-item-72" or class="page-item-58" in your CSS?). This plug-in greatly reduces those classes, and adds classes that reflect the link's page name, in slug form, so you can easily target menu LIs in your CSS.

What WP classes are allowed to remain?

  • Any that you choose.

Does this work with standard and custom menus?

  • Yes, both standard and custom menus will get class names that reflect the page name from the link they contain, such as: <li class="about-us"><a href="about-us">About Us</a></li>

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2013-7-11
Downloads: 3,678


4 stars
4.9 out of 5 stars


0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.