Extra Classes
Adds missing classes for selected menu states. Classes added include:
Consider an alternative
Extra Classes shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 5/5 and was last updated 12 years ago, and scores 31/100 on our health check.
- Small user base (30+ active installs)
- Very few reviews so far
- No update in 11 years
- Only tested up to WordPress 4.2 (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 Extra Classes stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| classes | >100 |
| css | >100 |
| menu | >100 |
| styles | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 3 reviews
About Extra Classes
From the official readme · v0.3.1Description
Add missing classes
Adds missing classes for selected menu states. Classes added include:
current-page-parentandcurrent_page_parentcurrent-page-ancestorandcurrent_page_ancestorcurrent-menu-ancestorcurrent-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.
Manage Menu Select States
Allows you to control which menu items should be selected (or deselected) when viewing certain pages of your site. You need to add classes to the menu items for this to work.
ecms-archive-{$post_type}– Select menu item when viewing a post type archive page.ecms-single-{$post_type}– Select menu item when viewing a single post type page.ecms-taxonomy-{$taxonomy}– Select menu item when viewing a taxonomy archive.ecms-taxonomy-{$taxonomy}-term-{$term}– Select menu item when viewing a taxonomy term archive.-
ecms-404– Select menu item when viewing a 404 page. -
ecms-no-archive-{$post_type}– Deselect menu item when viewing a post type archive page. ecms-no-single-{$post_type}– Deselect menu item when viewing a single post type page.ecms-no-taxonomy-{$taxonomy}– Deselect menu item when viewing a taxonomy archive.ecms-no-taxonomy-{$taxonomy}-term-{$term}– Deselect menu item when viewing a taxonomy term archive.ecms-no-404– Deselect menu item when viewing a 404 page.
Installation
To install and configure this plugin…
- Upload or install the plugin through your WordPress admin.
- Activate the plugin via the ‘Plugins’ admin menu.
- No configuration neccessary.
Upgrading
If you are upgrading manually via FTP rather that through the WordPress automatic upgrade link, please de-activate and re-activate the plugin to ensure the plugin upgrades correctly.
Changelog
Added Menu Selector support for 'ecms-404' and 'ecms-no-404' classes.
0.3.1
Fix issue where menu selected states were not inherited correctly for non-404 pages.
0.3
Added Menu Selector support for ‘ecms-404’ and ‘ecms-no-404’ classes.
0.2
Added Menu Selector class.
Add menus module and ‘extraclasses_menu_item_class’ filter for easier filtering of menu item classes.
Restructure include files for modules.
0.1
First release (beta).
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 Extra Classes alternatives
All classes plugins →FAQ
Extra Classes: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Extra Classes free?
Yes. Extra Classes is free to download and use from the official WordPress.org plugin directory.
Is Extra Classes safe to use in 2026?
Extra Classes shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 5/5 and was last updated 12 years ago, and scores 31/100 on our health check.
How many websites use Extra Classes?
Extra Classes is active on 30+ WordPress websites and has been downloaded 3,496 times since it launched in February 2013. It was downloaded 125 times in the last 30 days.
Does Extra Classes work with WordPress 7.1?
Extra Classes is officially tested up to WordPress 4.2.39, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Extra Classes last updated?
The latest version, 0.3.1, was released on April 23, 2015 (12 years ago).
Who makes Extra Classes?
Extra Classes is developed and maintained by Ben Huson.
What are the best alternatives to Extra Classes?
The most popular alternatives to Extra Classes are Widget CSS Classes (80K+ installs), Custom Classes (2K+ installs) and Widget Classes (1K+ 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
