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 https://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

Avis

25 novembre 2024
I think it really works but I have problems everytime I change the language. The homepage gets updates but not the menu that corresponds to that language. Just when I refresh the homepage… It doesn’t work pretty well neither in mobile phones.
16 octobre 2024
ALways suspicious when a plugin hasn’t been updated for a few months, especially when it is « untested with my current version of Wordpress ». However, thought I would give it a go – and it simply doesn’t work. Nothing works. You can’t click on anything. Had to uninstall it.
19 juin 2024
I am simply trying to create two types of menus. One is for the Wordpress website itself and the other is only for the webshop, which is WooCommerce ofcourse. No matter what I do or change. The best result I am getting is that the website menu is hidden on the webshop, but the webshop menu isn’t shown then. Sigh.This plugin was exactly what I was looking for based on the description.But does it work? No. Is it easy to understand? Again no. It’s either this or I am plain stupid.//update: well gave it a completely new go. It now works, however partially. If I go to certain webshop pages, the original website menu appears. So this is useless. It should be displayed on every page with WooCommerce in it and hide the stupid other menu. I am going to uninstall this. Not going to work.
22 juillet 2023
Bit complicated in that you are to create multiple menus depending on the conditions you define, such as roles. Rather it have been embedded into one menu, but it is also very powerful this way.
Lire les 66 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.

Journal

The changelog is located at: https://themify.org/changelogs/conditional-menus.txt