BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
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 · 30d48▲ +71.4% 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 · 7d9▼ -10% 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

246Jul 13Aug 26Oct 10
Yesterday1
Daily average (1y)1
Peak day9Aug 4, 2026
Last 12 months335

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 153 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.

Live data from WordPress.org · checked Oct 11, 2026

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,668 times since it launched in August 2010. It was downloaded 48 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.3. 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

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.