To reduce the extraneous WordPress classes and add unique IDs to navigation menus.
2015-03-13: * Fixing issue if no cusotm classes exist
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!
2013-04-07: * Fixed naming issue preventing plug-in from working and fixed screenshots
* 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.
NMIC.checkboxes.prop in the
* Finally added the admin screen!
if ( ! function_exists( '...' ) ): blocks around each plug-in function
* Changed function namesspace from
* Still want to find a way to gather possible WP class names programmatically, for "this" version of WP; any ideas?
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.
2011-09-28: Well, this is the first version, so... here it is, hope you like it!
Requires: 3.0 or higher
Compatible up to: 4.1.8
Last Updated: 7 months ago
Active Installs: 900+
Got something to say? Need help?