內容簡介
Jin Menu 在 WordPress 自訂連結選單項目中添加 onclick 事件,讓您可以從 WordPress 選單中使用您的 JavaScript/jQuery 代碼。
前往:外觀 > 選單
選擇選單
添加自訂連結類型的選單項目。添加連結文字,將 URL 留空或使用#
從選單設置中指定顯示位置
保存您的選單
前往:外觀 > Jin Menus
在頂部選擇您的選單
選擇選單項目
在 Javascript 方框中添加您的 JavaScript 代碼
特色
在 WordPress 自訂選單中添加 Onclick。
它使用自己的選單覆蓋行為,因此不應與其他主題或插件發生衝突。
支援與錯誤報告
有關 JinMenu 外掛的支援及更多資訊,請參閱外掛首頁:Buffer Now。
示範展示
外掛標籤
開發者團隊
原文外掛簡介
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
Features
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
