=== Navigation Menu IDs & Classes === Contributors: aarontgrogg Tags: navigation, menu, id, class, semantic, clean Requires at least: 3.0 Tested up to: 3.5 Stable tag: 2.2 To reduce the extraneous WordPress classes and add unique IDs to navigation menus. == Description == This plug-in limits the classes WordPress added to navigation menus to only those desired by the Theme owner, adds a unique ID to each `<li>` (except right now I cannot figure out how to add IDs to standard menus), and removes any empty `class` attributes. More about this plug-in can be found at: http://aarontgrogg.com/2011/09/28/wordpress-plug-in-navigation-menu-ids-classes/ Please let me know if you have any questions/suggestions/thoughts, Atg http://aarontgrogg.com/ aarontgrogg@gmail.com == Installation == 1. Download the ZIP 2. Unzip the ZIP 3. Copy/paste the unzipped files into your WP plug-in directory (`/wp-content/plugins/`) 4. From within WP's Plugin Admin panel, Activate the 'Navigation Menu IDs & Classes' plug-in 5. Choose which, if any, WP classes you wish to have in your HTML 6. Marvel at the power of technology! == Frequently Asked Questions == = 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: `