Menu Rules
Context Manager does the same job as Menu Rules, but comes with many more features to save you time and unnecessary coding.
Betrachten Sie eine Alternative
Menu Rules shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 14 years ago, and scores 23/100 on our health check.
- Kleine Benutzerbasis (10+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- No update in 13 years
- Only tested up to WordPress 3.5 (latest is 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Menu Rules stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| Kontext | >100 |
| Menü | >100 |
| menus | >100 |
| parent menu | >100 |
| rules | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
About Menu Rules
From the official readme · v1.2.2Beschreibung
This plugin has been replaced by Context Manager
Context Manager does the same job as Menu Rules, but comes with many more features to save you time and unnecessary coding.
Menu Rules can run alongside Context Manager while you migrate your rules across. Speak to me on Twitter if you need any help with the transfer.
About Menu Rules
In WordPress there’s no way to apply context to the menu system. Menu Rules solves this problem and gives you a framework to write your own menu extensions.
Example usage
You have an e-commerce website that has a custom post type called ‘products’. You have a page that lists products which is listed in your main menu. A user visits the page and the menu item becomes ‘active’. You click through to a product and the menu item loses its active state. This is how to fix it with menu rules:
- Install the Menu Rules plugin
- Add a menu rule
- Give it a meaningful name in the title field. This is just for administration purposes
- In the conditions field enter
is_singular( 'product' ) - Choose Emulate current page as a child but do not create a menu item. as the menu rule
- Find your products page in the menu dropdown
- Hit publish
Extending Menu Rules
- Create a class that extends
Menu_Rules_Handlerand includes ahandlermethod. - Write your custom functionality
- Register your class using
add_action( 'plugins_loaded', create_function( '', 'Menu_Rules::register( "Your_Menu_Rule_Class" );' ) );
Built-in rules are found in menu-rules/rules/
Unterstützen
If you’re stuck, ask me for help on Twitter.
Installation
- Download and unzip the folder from the WordPress plugins repository
- Upload the menu-rules folder into to the
/wp-content/plugins/directory - Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress
- Open the ‘Appearance’ menu item and click the ‘Menu Rules’ link
- Add a new menu rule and click ok.
Änderungsprotokoll
Menu Rules has been superseded by Context Manager - more features, less coding. This plugin is being deprecated.
1.2.2
- Upgrade notice to Context Manager
1.2.1
- Fixed fatal bug in PHP 5.4
1.2
- Conditions and Reactions divided into 2 meta boxes to improve usability
- Theme improvements
- Added description and footer options to PB Framework forms
- Moved plugin meta box styles into PB Framework
- Added default meta box display in PB Framework
- Added field setter for PB Framework meta box class
- Bugfix where frontend assets weren’t being loaded when on a new menu rule
- Bugfix in meta box get_fields()
- Bugfix for post updated messages
Note: Some stylesheets and Javascript files have had their handles changed.
1.1
- Added new force inactive parent rule
- Changed behaviour to one rule per item
- Minor enhancements to PB Framework
- Cleaned some unused code
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Menu Rules alternatives
All context plugins →Fragen und Antworten
Menu Rules: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Menu Rules free?
Yes. Menu Rules is free to download and use from the official WordPress.org plugin directory.
Is Menu Rules safe to use in 2026?
Menu Rules shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 14 years ago, and scores 23/100 on our health check.
How many websites use Menu Rules?
Menu Rules is active on 10+ WordPress websites and has been downloaded 9,183 times since it launched in March 2012. It was downloaded 49 times in the last 30 days.
Does Menu Rules work with WordPress 7.1?
Menu Rules is officially tested up to WordPress 3.5.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Menu Rules last updated?
The latest version, 1.2.2, was released on December 17, 2012 (14 years ago).
Who makes Menu Rules?
Menu Rules is developed and maintained by Phill Brown.
What are the best alternatives to Menu Rules?
The most popular alternatives to Menu Rules are Conditional Menus (60K+ installs), Widget Context (30K+ installs) and Widgets Control (800+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
