Ready to get started?Download WordPress

Plugin Directory

Extra Classes

Adds classes for selected menu states such as highlighting categories when viewing a blog post or parent page when viewing an attachment page.

Adds missing classes for selected menu states. Classes added include:

  • current-page-parent and current_page_parent
  • current-page-ancestor and current_page_ancestor
  • current-menu-ancestor
  • current-menu-parent

The classes are added in the following scenarios:

  • When viewing an attachment page classes are added to any parent pages and their menu ancestors.
  • When viewing a post classes are added to any relevant taxonomy menu items and their manu ancestors.

Requires: 3.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-2-11
Downloads: 404


5 stars
5 out of 5 stars


Got something to say? Need help?


Not enough data

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