🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Menu-item-ancestor icon
Possibly abandoned Tested up to 3.0.5 #1 in ancestor

Menu-item-ancestor

This plugin is for developers and designers who want to have a separate class for menu items with children.

Active installs10+10+ tier
Downloads · 30d39• 0% vs prev. 30d
Rating—0 reviews
Health score23/100At risk
All-time downloads2.7KSince Aug 2010
Support resolved—No recent threads
RequiresWP 3.0PHP any
Downloads · 7d10▼ -33.3% week over week
Our verdict

Consider an alternative

Menu-item-ancestor shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 16 years ago, and scores 23/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far
  • No update in 16 years
  • Only tested up to WordPress 3.0 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

123Sep 3Oct 17Dec 1
Yesterday1
Daily average (1y)1
Peak day9Aug 4, 2026
Last 12 months363

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Menu-item-ancestor stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
ancestor >100 189 Best ancestor plugins →
css >100 10,000 Best css plugins →
menu >100 10,000 Best menu plugins →

Version adoption

Share of active sites per release.

  • 1.1100.0%

About Menu-item-ancestor

From the official readme · v1.1

Description

This plugin is for developers and designers who want to have a separate class for menu items with children.

This plugin adds a menu-item-ancestor class to every menu item that has descendants.

Alows to use CSS to style only those menu items, that has descendants. For example you can add different background or different hover behavior.

Installation

  1. Upload menu-item-ancestor folder or menu-item-ancestor.php file to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use CSS menu-item-ancestor class to select and style menu items that have descendants

Changelog

1.1

  • Fixed the menu logic. The first version wrongly asumed that menu item stored it’s parent in posts table, when it’s actually is stored in postmeta table.

1.0

  • Big bang. Time starts.

Full changelog on WordPress.org →

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.

Active installs badge Rating badge Health score badge

Best Menu-item-ancestor alternatives

All ancestor plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
2 CSS Page Ancestors CSS Page Ancestors Add ancestors classes in your body_class to CSS control ALL the anchestors of your page. by giannisg <10 ★★★★★★★★★★ No reviews 9 years ago 21

FAQ

Menu-item-ancestor: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Menu-item-ancestor free?

Yes. Menu-item-ancestor is free to download and use from the official WordPress.org plugin directory.

Is Menu-item-ancestor safe to use in 2026?

Menu-item-ancestor shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 16 years ago, and scores 23/100 on our health check.

How many websites use Menu-item-ancestor?

Menu-item-ancestor is active on 10+ WordPress websites and has been downloaded 2,747 times since it launched in August 2010. It was downloaded 39 times in the last 30 days.

Does Menu-item-ancestor work with WordPress 7.1?

Menu-item-ancestor is officially tested up to WordPress 3.0.5, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Menu-item-ancestor last updated?

The latest version, 1.1, was released on August 23, 2010 (16 years ago).

Who makes Menu-item-ancestor?

Menu-item-ancestor is developed and maintained by valentinas.

What are the best alternatives to Menu-item-ancestor?

The most popular alternatives to Menu-item-ancestor are CSS Page Ancestors (<10 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

↑↓ to move↵ to open