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

نقد و بررسی‌ها

جون 19, 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, 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.
جولای 3, 2023
Did not work for me , I have different menus for logged in & logged out users and I want to show menu for logged out users only in front page but this plugin doesn’t know how to do so !
خواندن تمامی 64 نقد و بررسی‌

توسعه دهندگان و همکاران

“Conditional Menus” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Conditional Menus” به زبان شما.

علاقه‌ مند به توسعه هستید؟

کد را مرور کنید, را بررسی کنید مخزن SVN, یا مشترک شوید گزارش توسعه توسط RSS.

گزارش تغییرات

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