WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Purify WordPress Menus

Slim down the HTML code of WordPress menus to only the CSS classes and ID attributes your theme needs to improve page speed

Does the plugin take effects on both navigation menus and page menus?

Yes, it does.

Does the plugin take effects on the visual appeareance of menus?

Short answer: Normally not and if yes, you can take control of it.

Long answer: The default settings are to output only the CSS class for the current active menu item. If the theme's CSS uses also the other CSS classes and/or item ID attribute you will notice some undesirable visual effects on menus. In this case just find out which classes and/or IDs the theme uses and activate them via the plugin's options page until the effects disappear.

What are the default settings of this plugin?

After activating the plugin deletes the id attributes an all CSS classes on every menue item except the CSS classes ".current-menu-item" in navigation menus and ".current_page_item" in page menus.

What happens with my settings if I would deactivate the plugin through the 'Plugins' menu in WordPress?

Your settings will be still stored in the WordPress database. After you re-activate the plugin all your settings are back.

What happens with my settings if I would delete the plugin through the 'Plugins' menu in WordPress?

Your settings will be deleted, too. In other words: There would not remain any useless settings of this plugin.

Would this plugin also deletes the id attribute of every menu item?

Yes. It does this way as default. You can activate the output of every menu item's id on the plugin's options page.

Why is in page menus still the empty attribute ' class=""' at every menu item?

Normally, if you deselect every checkbox for page menus on the plugin's options page no class attribute should be there in page menus. But the WordPress files does not offer a gentle way to suppress the class attribute if it has no values. The plugin saves time and ressources by not trying an own way. If you would have a trick for deleting the empty class attibute with little effort please tell me about it.

Which languages does the plugin support?

Actually these languages are supported:

  • English
  • German
  • Spanish

Further translations are welcome. If you have one please send me an email.

Where is the *.pot file for translating the plugin in any language?

If you want to contribute a translation of the plugin in your language it would be great! You would find the *.pot file in the 'languages' directory of this plugin. If you would send the *.po file to me I would include it in the next release of the plugin.

Requires: 3.0 or higher
Compatible up to: 3.8.3
Last Updated: 2014-4-13
Downloads: 5,668

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1 100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1