Conditional Menus

Description

Conditional Menus is a simple yet useful WordPress plugin by Themify, which allows you to swap the menus in the theme as per specific conditions. In short, you can have different menus in different posts, pages, categories, archive pages, etc. It works with any WordPress theme that uses the standard WordPress menu function.

How to use it

Once you activate the plugin, you will see the conditional menus on the Manage Locations tab located in your WP Admin > Appearance > Menus page.

1) To add conditional menu: click « Conditional Menu » and select a menu from the list (you can create these menus in the « Edit Menus » tab)
– You can remove the menu by selecting « Disable Menu » from the list.
2) Click on “+ Conditions » to add conditions in the modal box (tick the checkboxes where you want the menu to appear)
3) To remove the conditional menus, click on the « X » button

Visit http://themify.me/conditional-menus for more details.

Captures d’écran

  • Admin interface

Installation

  1. Login to your wp-admin > go to Plugins > Add New and upload the ‘conditional-menus.zip’
  2. Activate the plugin

FAQ

Installation Instructions
  1. Login to your wp-admin > go to Plugins > Add New and upload the ‘conditional-menus.zip’
  2. Activate the plugin

Avis

Perfect – works a treat

I was looking for a WordPress plugin to dynamically show a different navigation menu on different parts of my site – e.g. depending on the individual page or blog category. I needed this to effectively create 2 separate websites under a single domain – one to promote our web design services, and others to sell our WordPress and WooCommerce plugins.

This plugin took less than 2 minutes to set up and worked perfectly straight away. Now my users see menu links that are relevant to them, regardless of whether they’re looking for a new website or a plugin. Thanks very much!

Great plugin congrats

It works great in my site. I have put 4 different menus with sub menus and works perfectly. I haven’t tested it in multi language if it has any problem.

UNFORTUNATELY it doesn’t work in multi language site. Not only crash but deleted also pages I created after the installation. For single language site is ok.

Doesn’t work with sub-pages

Only seems to work with parent pages. If you want to add a page condition for a page that happens to have a parent page, it doesn’t work. Tried everything. I checked the support forum and apparently, it is a bug that many people have complained about for months, but the developer is MIA and the plugin haven’t been updated in a long while. A shame since it would be a great plugin if it worked correctly.

Limited functionality. User interface misleading. No support. No updates.

This plugin is rather limited in functionality, although it presents itself as very capable.

When you specify the conditions for a conditional menu you are presented with a multitude of options – custom taxonomies etc. However, only a small subset of conditions are actually implemented. So you may very well set conditions that will never work and you will tear your hair for hours trying to figure out what’s wrong. When I finally stepped through the code using a PHP debugger I found that there is simply no code in the plugin to test for custom taxonomies.

Over a month ago I contacted the author about this. I even provided a solution. But so far there has been no response whatsoever.

– It may work for your particular use case, but don’t bet your money on it.
– The plugin is poorly written
– The plugin is poorly tested
– The author does not respond to support requests in a timely manner
– The author seems uninterested in keeping this plugin working – it is possibly dead

Being a programmer I’ve fixed the plugin so that it works for my use case. I give it two stars because at least I didn’t have to write the whole plugin from scratch.

Fantastic!

Great and simple plugin. Work as expected, really easy to use. Congratulations!

Lire les 16 avis

Contributeurs & développeurs

« Conditional Menus » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Conditional Menus » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.