[WordPress] 外掛分享: Sailen Short Menu

首頁外掛目錄 › Sailen Short Menu
全新外掛
安裝啟用
尚無評分
3517 天前
最後更新
問題解決
WordPress 3.7+ v1.0 上架:2016-07-28

內容簡介

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

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Sailen Short Menu」→ 直接安裝(推薦)

原文外掛簡介

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

文章
Filter
Mastodon