Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

JinMenu

Описание

The Jin Menu adds onclick event in wordpress custom link menu item , so that you can use your javascript/jQuery code from wordpress menu.

  • Goto: Appearance > Menus

  • Select Menu

  • Add Menu Item of type Custom Links. Add Link Text , Leave URL Blank or Use #

  • Assign display location from menu settings

  • Save your menu

  • Goto: Appearance > Jin Menus

  • Select Your Menu on top

  • Select Menu Item

  • Add your javascript code in Javascript box

Возможности плагина

  • Add Onclick In WordPress Custom Menu.

  • It uses its own menu to override the behaviour so there should be no conflict with other themes or plugins

Support & Bug Reports

For support and further information about the JinMenu plugin see the plugins homepage at Buffer Now.

Working Demo

Скриншоты

Установка

If you have ever installed a WordPress plugin, then installation will be pretty easy:

  1. Download the JinMenu plugin archive and extract the files

  2. Copy the resulting jinMenu directory into /wp-content/plugins/

  3. Activate the plugin through the ‘Plugins’ menu of WordPress

For support and further information about the JinMenu plugin see the plugins homepage at BufferNow.

Часто задаваемые вопросы

Where do I get support and further information

For support and further information about the JinMenu plugin see the plugins homepage at BufferNow.

Отзывы

20.05.2020
What the plugin provides is not very complicated. It adds fields to menu items, where you can simply copy-paste your code. But before that, you need to know what you’re doing in terms of working with Javascript/jQuery. So, before you use the plugin, make sure you know how to set up such a Javascript event. Otherwise, you won’t know what to do with this tool.
19.07.2017
It only works if you have checked the check that it is «Primary Navigation». If your web has multiple menus it does not work in others menus.
Посмотреть все 27 отзывов

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

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

Участники

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

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

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

Журнал изменений

3.2.1

  • minor bug fix

3.2.0

  • Remove nav_menu_walker completly to support all plugins and themes

  • remove extra space in menu items

  • add notification upon saving menu

3.1.0

  • fix bug in menu item class for long menu name

3.0.0

  • Compatible with WordPress 4.4

  • Comes with no conflict mode

  • If Walker_Nav_Menu filter using by another plugin theme enable No conflict mode

  • New panel to add javascript if theme and plugin conflicting.

2.0.0

  • Compatible with WordPress 4.4

  • Multi Execution issue fixed

  • No Need to add # in menu url

1.2.1

  • Plugin Panel Removed

  • No extra js ,CSS

  • Textbox replaced with multiline textarea

  • Option will appear only on custom menu

  • compatibility with WordPress 3.8.1.

1.1.1

  • compatibility with WordPress 4.2.2

  • fix multi execution if multiple menu

1.2.1

  • Plugin Panel Removed

  • No extra js ,CSS

  • Textbox replaced with multiline textarea

  • Option will appear only on custom menu

  • compatibility with WordPress 3.8.1.

1.1.1

  • jQuery bug fix

  • Remove unnecessary js and css

  • Increase performance

  • compatibility with WordPress 3..2.

1.1.0

  • css bug fix

  • js on footer bug fix

  • Added option to insert javascript function directly from wordpress menu

  • auto load jquery if not loaded in theme.

1.0

  • Initial public release.