前言介紹
- 這款 WordPress 外掛「Menu Helper」是 2013-05-28 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2013-05-30,距離現在已有 4357 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
menu | submenus | navigation | menus manipulation |
內容簡介
Menu Helper可以有兩種使用方式:作為簡碼(如A節中所述),或者更高級的程式化使用方式,作為返回數組的函數(如B節所述)。對於兩種使用方式,選項是相同的。在插件啟動後,您可以在「設置-〉菜單助手信息」中找到詳細說明和示例。
submenu_slug - 允許定義子菜單元素的自定義ID
parent_id - 如果不為空,將提供parent_id選項的子級。如果設置為0,將獲取1級項目(及其子級,如果submenu_depth設置為大於1的數字)
menu_id-如果是整數,將使用菜單ID,否則將是菜單的slug/name。如果未定義,插件將檢查是否在任何菜單定義中使用了parent_id,並選擇找到的第一個
include_parent - 如果設置為true,將包括父元素
container_tag-允許設置容器的標籤元素
container_class - 允許為容器元素定義自定義CSS類。可以包含多個以空格分隔的類名
item_tag-允許為菜單項目設置標籤元素
item_class-允許為每個子菜單項目定義自定義CSS類
first_item_class-允許為子菜單中的第一個項目定義自定義CSS類。如果submenu_depth設置為大於1的值,該類將在每個級別上重復出現
strict_first_item_class - 允許僅為子菜單中的第一個項目定義自定義CSS類
last_item_class-允許為子菜單中的最後一個項目定義自定義CSS類。如果submenu_depth設置為大於1的數字,該類將在每個級別上重復出現
submenu_depth-如果設置為大於1的數字,將顯示所呼叫的子級。要獲得完整的子級深度,請將此參數設置為-1
theme_location-插件將使用與theme_location值關聯的菜單
對於舊版WordPress或任何問題,您可以發送電子郵件至[email protected]與我聯繫
原文外掛簡介
Menu Helper can be used in 2 forms: as short code ( as described in section A) or, for more advanced programmatic use, as function which returns an array (as described in section B). For both usage styles the options are the same. You will find a detailed description with examples in Settings -> Menu Helper Info after the plugin’s activation.
submenu_slug – Allows to define a custom id for the submenu element
parent_id – If not null, will provide the children of the parent_id option. If set to 0 will get level 1 items (and their children, if submenu_depth set to a number greater than 1)
menu_id – If integer, will be used the menu ID, otherwise will be the menu’s slug/name. If not defined the plugin will check if the parent_id is used in any menu definition and pick the first it finds
include_parent – If set to true will include the parent element
container_tag – Allows to set the tag element of the containers
container_class – Allows to define a custom CSS class for container element. Can contain more class names separated by space
item_tag – Allows to set the tag element for menu items
item_class – Allows to define a custom CSS class for each submenu item
first_item_class – Allows to define a custom CSS class for first item in submenu. If submenu_depth is set to greater than 1 the class will repeat on each level
strict_first_item_class – Allows to define a custom CSS class only for the very first item in submenu
last_item_class – Allows to define a custom CSS class for last item in submenu. If submenu_depth is set to greater than 1 the class will repeat on each level
submenu_depth – If set to a number greater than 1 the call will show in depth children. To get full submenu depth set this parameter to -1
theme_location – The plugin will use the menu associated to the value of the theme_location
For older WordPress versions or any issue you can email me at [email protected]
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Menu Helper」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Max Mega Menu 》Max Mega Menu 可自動將您現有的菜單轉換為豪華菜單。您還可以將任何 WordPress widget 添加到菜單中,使用主題編輯器重新風格化菜單,並使用內建設置更改菜...。
Admin Menu Editor 》Admin Menu Editor 可讓您手動編輯儀表板菜單。您可以重新排序菜單,顯示/隱藏特定項目,修改權限等等。, 功能, , 更改菜單標題、URL、圖標、CSS 類等。, 通...。
Menu Image, Icons made easy 》這個外掛可以輕鬆地在選單項目中加入圖像或圖示,打造更好的網站選單。, 可以控制圖像或圖示的位置以及大小。, 這個 Menu Image 外掛還有其他功能,以下是其...。
Menu Icons by ThemeIsle 》這個外掛提供了在選單項目中加入圖示的功能,就像最新的儀表板選單的外觀一樣。, , 使用方法, , 啟用外掛後,前往外觀 > 選單以編輯您的選單, 在「選單圖...。
Duplicate Menu 》一些 WordPress 安裝使用著核心菜單 (Menus) 驅動的複雜導航系統。它們是一個非常好的功能,常常能決定一個主題的成敗。但是,菜單在原生狀態下不太容易轉移...。
Menu Cart for WooCommerce 》** 與 WooCommerce 和 Easy Digital Downloads(EDD)兼容 ** , 此外掛將在導覽列中安裝購物車按鈕。 安裝此外掛的時間少於一分鐘,, 並且包括以下選項:, , ...。
User Menus – Nav Menu Visibility 》User Menus 是一個適用於擁有登入使用者的網站的完美插件。, 透過此插件,您可以更精確地控制導覽菜單,包括對各菜單項目可見性的調整,例如每個菜單項目可以...。
WP Mobile Menu – The Mobile-Friendly Responsive Menu 》需要一個專門的手機網站體驗嗎?需要一個能讓您的手機訪客參與的手機菜單外掛嗎?, , WP Mobile Menu是最優秀的WordPress響應式手機菜單。使用任何設備(智能...。
Nav Menu Roles 》這個外掛可以根據使用者角色隱藏自訂選單項目。例如,如果您只想把選單中某個連結顯示給已登入的使用者、特定類型的使用者,或者甚至只顯示給未登入的使用者...。
Conditional Menus 》條件式選單 (Conditional Menus) 是一款由 Themify 推出的簡單而實用的 WordPress 外掛,可讓您根據特定條件更換佈景主題中的選單。簡而言之,您可以在不同的...。
If Menu – Visibility control for Menus 》藉由可見度規則,您可以控制網站訪客看到哪些選單項目。以下是一些範例:, , 僅顯示選單項目,當 使用者已登入, 當裝置為行動裝置時,隱藏選單, 顯示選單 給...。
WP Responsive Menu 》WP Responsive Menu是一個簡單的外掛,可以讓您在WordPress網站上快速添加高度可定制的響應式菜單,在設置頁面上直接進行自定義,無需任何編碼技能。, 查看實...。
WP Custom Admin Interface 》WP Custom Admin Interface 可以輕鬆地自訂 WordPress 後台功能表、工具列和管理介面。此插件不僅提供完全免費的超棒後台自訂功能,還提供了很多其他插件需要...。
Login Logout Menu 》登入登出選單外掛可以幫助您將動態登入和登出選單添加到您WordPress網站的任何菜單中。您還可以設置登入頁面URL、登入重定向URL和登出重定向URL。菜單項目將...。
Exclude Pages 》這個外掛新增了一個勾選框,「在選單中包含此頁面」,取消勾選則排除使用者在您的網站上看到的頁面導覽中的頁面。, 如有問題:聯繫我。此插件新增了一個勾選...。