Navigation Menu IDs & Classes
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 and removes any empty class attributes.
Consider an alternative
Navigation Menu IDs & Classes shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 4.8/5 and was last updated 12 years ago, and scores 36/100 on our health check.
- Small user base (100+ active installs)
- No update in 11 years
- Only tested up to WordPress 4.1 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Navigation Menu IDs & Class… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| id | >100 |
| menu | >100 |
| navigation | >100 |
| semantic | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.8 from 5 reviews
About Navigation Menu IDs & Classes
From the official readme · v2.5Description
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 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
Installation
- Download the ZIP
- Unzip the ZIP
- Copy/paste the unzipped files into your WP plug-in directory (
/wp-content/plugins/) - From within WP’s Plugin Admin panel, Activate the ‘Navigation Menu IDs & Classes’ plug-in
- Choose which, if any, WP classes you wish to have in your HTML
- Marvel at the power of technology!
Changelog
2.5
2015-03-13:
* Fixing issue if no cusotm classes exist
2.4
2013-07-11:
* Added ability to retain custom class added via the Menus Admin page; thanks to Bryce for the idea, and sorry it took me so long to get around to!
2.3
2013-04-07:
* Fixed naming issue preventing plug-in from working and fixed screenshots
2.1
2013-01-11:
* Fixed an issue where individual checkboxes seemed to not respond to click (in fact, thanks to WP’s layout and jQuery’s bubbling, my toggle function was toggling twice). Was able to fix issue and remove the toggle function altogether. Thanks, Erin Allen!
* Fixed an issue where the for attribute for all of the labels was not getting added correctly. Now the label for each row spans the entire row, meaning you can click anywhere in a row to toggle that checkbox.
* Changed NMIC.checkboxes.attr to NMIC.checkboxes.prop in the checkall and uncheckall functions.
2.0
2012-10-03:
* Finally added the admin screen!
* Added if ( ! function_exists( '...' ) ): blocks around each plug-in function
* Changed function namesspace from nmic to NMIC
* Still want to find a way to gather possible WP class names programmatically, for “this” version of WP; any ideas?
1.2
2012-02-27:
* Page name slug classes were not working; this has been fixed. Thanks to Christopher Bright for getting me to look into this.
* Removed nmic_remove_empty_classes function, as it is no longer necessary now that all nav menu LIs will have at least one class: the page name slug.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Navigation Menu IDs & Classes alternatives
All id plugins →FAQ
Navigation Menu IDs & Classes: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Navigation Menu IDs & Classes free?
Yes. Navigation Menu IDs & Classes is free to download and use from the official WordPress.org plugin directory.
Is Navigation Menu IDs & Classes safe to use in 2026?
Navigation Menu IDs & Classes shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 4.8/5 and was last updated 12 years ago, and scores 36/100 on our health check.
How many websites use Navigation Menu IDs & Classes?
Navigation Menu IDs & Classes is active on 100+ WordPress websites and has been downloaded 12,605 times since it launched in September 2011. It was downloaded 266 times in the last 30 days.
Does Navigation Menu IDs & Classes work with WordPress 7.1?
Navigation Menu IDs & Classes is officially tested up to WordPress 4.1.42, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Navigation Menu IDs & Classes last updated?
The latest version, 2.5, was released on May 15, 2015 (12 years ago).
Who makes Navigation Menu IDs & Classes?
Navigation Menu IDs & Classes is developed and maintained by Aaron T. Grogg.
What are the best alternatives to Navigation Menu IDs & Classes?
The most popular alternatives to Navigation Menu IDs & Classes are Reveal IDs (40K+ installs), Show IDs by DraftPress (10K+ installs) and ShowID for Post/Page/Catego… (7K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
