
內容簡介
Simple Nested Menu 是一個快速輕量級的外掛,可以以巢狀滑動風格顯示菜單項目。它可以與 shortcode 一起使用,您可以在文章中使用
[simple_nested_menu] shortcode 顯示菜單。Simple Nested Menu 是一個快速輕量級的外掛,具有一些特殊的屬性
用於樣式設定和提取菜單項目。您可以使用菜單的名稱或 ID 屬性來提取其項目。
要使用此外掛,在啟用外掛後,您必須在文章中放置 [simple_nested_menu] shortcode,然後設置菜單的名稱或 ID 屬性。
此外掛的屬性:
1)name: 菜單的標題
2)id: 菜單 ID
3)classname: 如果您希望多次使用此 shortcode,最好將此屬性設置為類似class1或class2或任何其他類型的內容。
4)bgcolor:菜單的背景顏色
5)font: 菜單項目的字體顏色
6)bghover:滑鼠懸停時的背景顏色
7)fonthover:鼠標懸停時的字體顏色
8)border:項目邊框的 CSS 代碼(例如:solid 1px#FFF)
如何使用此外掛:
啟用外掛後:
步驟1)進入菜單管理部分(在管理面板中)並創建您的菜單。記下菜單名稱。
步驟2)在文章或任何其他適當的位置放置 [simple_nested_menu] shortcode。設置名稱或 ID 屬性。(例如:[simple_nested_menu name=”test menu”])
就這樣!
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
The Simple Nested Menu is a fast and lightweight plugin that displays menu items in a nested sliding style. It works with shortcode and you can use
[simple_nested_menu] shortcode for displaying menus in your posts.The Simple Nested Menu is a fast and lightweight plugin with some special attributes
for styling and fetching menus items. You can use the name or id attribute of a menu for fetching its items.
To use this plugin, after activation of the plugin, you have to place [simple_nested_menu] shortcode in your posts and set the name or id attribute of the menu.
Attributes of this plugin:
1) name: Title of a menu
2) id: Menu ID
3) classname: If you want to use this shortcode multiple times, it is better to set this attribute to something like class1 or class2 or any other thing.
4) bgcolor: Background color for menu
5) font: Font color for menu items
6) bghover: Background color on mouse hover
7) fonthover: Font color on mouse hover
8) border: CSS code for items border (e.g: solid 1px #FFF)
How to use this plugin:
After activation of the plugin:
Step1) Go to menu management section (in admin panel) and create your menu. Remember the name of menu.
Step2) Place [simple_nested_menu] shortcode in a post or any other proper place. Set the name or ID attribute. (e.g:[simple_nested_menu name=”test menu”] )
That’s it!
