ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

Silencesoft Disable Menu Items

აღწერა

This plugin allows to disable menu items and hide them from menu without
the need to delete them.

This plugin use phpQuery 0.9.5 from Tobiasz Cudnik
* phpQuery is a server-side, chainable, CSS3 selector driven
* Document Object Model (DOM) API based on jQuery JavaScript Library.
http://code.google.com/p/phpquery/

ეკრანული სურათები

  • Modifying a menu item

დაყენება

Upload plugin folder to plugins folder.
Enable plugin.
Go to appearance menu options.
In every menu item will be a new option “Disable”, use it.

ხდკ

1. Is this plugin compatible with another menu Walkers?

WordPress has not a filter to hook custom fields on menus as explained
here:
https://wordpress.org/plugins/nav-menu-roles/faq/#conflict
Version 1.1 of this plugin implements the fix proposed to work with
another plugins.

მიმოხილვები

03.09.2016
Thanks. Works totally as expected. It does seem strange this isn't in the core wordpress settings already.
03.09.2016
Since not all site menus are simple, as multi-layered menus with custom links here and there are certainly far more complex... and this plugin provides a simple workable solution when a client says "can we remove that from the menu for the time being". Instead of deleting item(s) and then later having to recreate them this tool now lets me simply disable/hide it without deleting. And that's an incredible time saver. Why this isn't a core option, I'll never know... but it should be.
6 რევიუს წაკითხვა

მონაწილეები & დეველოპერები

“Silencesoft Disable Menu Items” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ Silencesoft Disable Menu Items თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

1.0

  • First release.

1.1

  • Added support for action wp_nav_menu_item_custom_fields to fix Walker
    Conflict.

1.2

  • Fixed variable issue.