內容簡介
Sailen Short Menu 是一個簡單的外掛,允許使用者使用短碼(Shortcode)在文章/頁面和側邊欄中顯示導覽菜單。
使用短碼
[ssm-menu name=”YOUR_MENU_NAME” class=”CLASS_FOR_UL_TAG” con=”CLASS_FOR_THE_CONTAINER” depth=”LEVEL” ]
該短碼還可以包含在小工具區域和側邊欄中
YOUR_MENU_NAME [您創建的菜單的名稱][必填]
CLASS_FOR_UL_TAG [如果您想為 Ul 標記提供不同的 class,預設值已分配] [選填]
CLASS_FOR_THE_CONTAINER [如果您想為 Ul 標記的容器提供不同的 class,預設值已分配] [選填]
LEVEL [定義菜單項目的等級層次的數值。預設值是 0] [選填]
貢獻
Github
https://github.com/shivaacharjee/sailenShortMenu
外掛標籤
開發者團隊
原文外掛簡介
Sailen Short Menu is a simple plugin which allow users to display nav-menus within post/pages and Sidebars using Shortcodes
Using Shortcode
[ssm-menu name=”YOUR_MENU_NAME” class=”CLASS_FOR_UL_TAG” con=”CLASS_FOR_THE_CONTAINER” depth=”LEVEL” ]
The Shortcode can also be included within the Widget area and sidebars
YOUR_MENU_NAME [Name of the Menu created by you][Required]
CLASS_FOR_UL_TAG [If yu want to provide a different class for the Ul tag. Default is assigned] [Optional]
CLASS_FOR_THE_CONTAINER [If yu want to provide a different class for the container for Ul tag. Default is assigned] [Optional]
LEVEL [Numeric value to define the level of hierarchy of the MenuItems. Default is 0] [Optional]
Contribute
Github
https://github.com/shivaacharjee/sailenShortMenu
