Slim down the HTML code of WordPress menus to only the CSS classes and ID attributes your theme needs to improve page speed
The plugin is available in English, Spanish (Español) and German (Deutsch).
This plugin deletes the CSS classes you do not need in a navigation menu and page menu. It slims down the HTML code of WordPress menus to the only neccessary CSS classes you want for your theme. This results in less HTML code and so in higher page speed.
The visual appereance of menus in the frontend remains unchanged in most cases. If you should see an undesirable visual effect to the menus in your theme you can activate the needed CSS classes on the plugin's options page.
If you deactivate the plugin, your settings remains. If you activate the plugin again your last settings will be used. You do not need to go over all settings again.
If you delete the plugin via the WordPress 'Plugin' menu, your settings will be deleted, too. No useless option remains in the WordPress database.
The default setting is to output only the CSS classes for the current menu item.
Menu items which are parents of the current item will not be classified as ancestors additionally. The output of class="current-menu-ancestor current-menu-parent" is reduced to class="current-menu-parent".
This plugin filters out the old CSS classes of page menus in navigation menus. Using the WordPress menu configurator the page menu classes are not necessary anymore.
This plugin deletes the ID attribute of each menu item. In most cases the ID of every menu item is not needed.
This plugin hooks into the WordPress core functions wp_nav_menu() and wp_page_menu(). It changed the results of both functions to the settings you chose.
The user interface is available in
Further translations are welcome. If you want to give in your translation please leave a notice in the plugin's support forum.
Requires: 3.0 or higher
Compatible up to: 4.5.2
Last Updated: 1 month ago
Active Installs: 700+
Got something to say? Need help?