MAJpage Menu Class Extender
Adds classes to first, last, parent, even and odd elements of wp_page_menu and wp_nav_menu.
Consider an alternative
MAJpage Menu Class Extender shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 5/5 and was last updated 7 years ago, and scores 31/100 on our health check.
- Small user base (30+ active installs)
- Very few reviews so far
- No update in 7 years
- Only tested up to WordPress 5.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 MAJpage Menu Class Extender stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| classes | >100 |
| menu | >100 |
| tags | >100 |
| wp_nav_menu | #36 |
| wp_page_menu | #7 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About MAJpage Menu Class Extender
From the official readme · v1.6Description
This simple plugin was written to add classes to first, last, parent, even and odd elements of wp_page_menu and wp_nav_menu to support recognizing it in older browsers without :first-child, :last-child and :nth-child supporting.
Plugin adds the following classes to menu <li> tags:
- “first-menu-item” to every first child of <ul> or <menu> tag,
- “last-menu-item” to every last child of <ul> or <menu> tag,
- “parent-menu-item” to every child of <ul> or <menu> tag that has another <ul> or <menu> tag inside (a parent to another menu level),
- “odd-menu-item” to every odd child of <ul> or <menu> tag, including first and/or last child,
-
“even-menu-item” to every even child of <ul> or <menu> tag, including first and/or last child.
Above classes are added separately to each menu level. Plugin use SimpleXML extension and requires PHP 5 or higher. Menu should have valid XHTML code.
Installation
- Upload “majpage-menu-class-extender.php” to the “/wp-content/plugins/” directory.
- Activate the plugin through the “Plugins” menu in WordPress.
- That’s all – plugin is fully operational and adds specified classes in every wp_page_menu and wp_nav_menu element with menu defined in “Menus” tab.
Changelog
Changes were made to replace deprecated function.
1.6
- Fix missed variable declarations.
1.5
- Replace deprecated function.
1.4
- Plugin functions changed into MAJpageMCE class static methods.
- wp_page_menu container support added thanks to Dinesh Kesarwani’s notice.
- Cause of the strict standards warning corrected thanks to flynsarmy’s notice.
1.3
- HTML5 <menu> tag support added thanks to Tomas Kapler’s notice.
- wp_nav_menu container tag support included.
1.2
- Bug fixed with correct working in case of wp_nav_menu container absence.
- “parent-menu-item” class added.
1.1
- Bug fixed with HTML special chars existence.
- Improved menu list searching inside a container.
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 MAJpage Menu Class Extender alternatives
All classes plugins →FAQ
MAJpage Menu Class Extender: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is MAJpage Menu Class Extender free?
Yes. MAJpage Menu Class Extender is free to download and use from the official WordPress.org plugin directory.
Is MAJpage Menu Class Extender safe to use in 2026?
MAJpage Menu Class Extender shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 5/5 and was last updated 7 years ago, and scores 31/100 on our health check.
How many websites use MAJpage Menu Class Extender?
MAJpage Menu Class Extender is active on 30+ WordPress websites and has been downloaded 7,028 times since it launched in August 2011. It was downloaded 111 times in the last 30 days.
Does MAJpage Menu Class Extender work with WordPress 7.1?
MAJpage Menu Class Extender is officially tested up to WordPress 5.2.31, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was MAJpage Menu Class Extender last updated?
The latest version, 1.6, was released on September 8, 2019 (7 years ago).
Who makes MAJpage Menu Class Extender?
MAJpage Menu Class Extender is developed and maintained by duzymaju.
What are the best alternatives to MAJpage Menu Class Extender?
The most popular alternatives to MAJpage Menu Class Extender 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
