Conditional Menus

Описание

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.

Скриншоты

  • Admin interface

Установка

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

Отзывы

27.02.2020
Very precise options on where to activate a conditional menu – this is best described as Powerful. It took care of all scenarios. The plugin worked out of the box for straightforward situations but I wanted to use it in an area that stretched my limited php knowledge. Support came up with a detailed solution tailored to me and even recommended a useful article. Thank you!
28.01.2020
We had an issue with 6 posts that ended on an identical last slug, but the Themify Support Team fixed the problem within a few days and released an update of the plugin. With this fix, the plugin is the perfect solution for our websites to define specific menus for posts and pages! Thanks again!
Посмотреть все 43 отзыва

Участники и разработчики

«Conditional Menus» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Conditional Menus» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.