內容簡介
這個外掛增強了 WordPress 的「導覽選單」小工具,提供了多種選項,可以通過小工具自定義菜單的輸出。
特點包括:
自定義階層-「僅相關子項目」或「僅嚴格相關的子項目」。
開始的深度和要顯示的最大層數+平面顯示。
顯示從選定項目開始的所有菜單項。
只顯示當前元素的直接路徑或選定項目的子項(包含父項目的選項)。
將菜單顯示為下拉式菜單。
小工具塊的自定義類別。
幾乎所有 wp_nav_menu 函數的參數。
短碼 [advMenu]
顯示菜單項目描述。
還有什麼問題嗎?或者此外掛不符合您的期望?我很樂意聽取任何意見來改進此外掛!
感謝斯洛伐克 WordPress 社區和 Webikon 的支持。如需了解我的更多信息,請訪問我的 個人頁面。
選項
「標題」-為您的小工具設置標題
「自定義小工具類別」-小工具塊的自定義類別
「選擇菜單」-選擇要顯示的自定義菜單
「顯示階層」-您可以設置僅顯示相關或嚴格相關的項目
「開始深度」-僅顯示深度大於此深度的菜單項目
「要顯示的層數」-限制從 1 到 5 層的顯示,或者平面顯示
「過濾器範圍」-只顯示所選元素的子元素或孫子元素
「選擇篩選器」-篩選當前菜單項目的直接路徑(如面包屑導航)或僅顯示其子項
「包括父項」-勾選時,它也會在篩選中顯示父項(如:僅顯示選定項目的子項)
短碼
您可以使用以下列出的參數,並使用短碼 [advMenu] :
'nav_menu'(菜單 ID)
'title'
'dropdown'
'only_related'
'depth'
'container'
'container_id'
'menu_class'
'before'
'after'
'link_before'
'link_after'
'filter'
'filter_selection'
'include_parent'
'start_depth'
'hide_title'
'custom_widget_class'
例如:[advMenu title="菜單標題" nav_menu=2]
外掛標籤
開發者團隊
原文外掛簡介
This plugin adds enhanced “Navigation Menu” widget. It offers many options which could be set to customize the output of the custom menu through the widget.
Features include:
Custom hierarchy – “Only related sub-items” or “Only strictly related sub-items”.
Starting depth and maximum level to display + flat display.
Display all menu items starting with the selected one.
Display only direct path to current element or only children of selected item (option to include the parent item).
Display menu as drop down.
Custom class for a widget block.
And almost all the parameters for the wp_nav_menu function.
shortcode [advMenu]
Display menu items descriptions.
Are you missing something or isn’t it working as expected ? I am open to suggestions to improve the plugin !
Thanks the Slovak WordPress community and Webikon for the support. For more information about me check out my personal page.
Options
“Title” – set the title for your widget
“Custom Widget Class” – custom class for widget block
“Select Menu” – menu from the custom menus you want show
“Show hierarchy” – you can set to display only related or strictly related items
“Starting depth” – display only menu items which depth is greater then this
“How many levels to display” – limit the display from 1 to 5 levels or flat display
“Filter selection from” – only items which are children or grandchildren of selected element will be displayed
“Select the filter” – filter the direct path for the current menu item (like breadcrumb navigation) or display only its children
“Include parents” – when checked it display also parent item upon filters (e.x. Display only children of selected item)
Shortcode
You can use [advMenu] shortcode with the parameters listed below:
'nav_menu' (menu ID)
'title'
'dropdown'
'only_related'
'depth'
'container'
'container_id'
'menu_class'
'before'
'after'
'link_before'
'link_after'
'filter'
'filter_selection'
'include_parent'
'start_depth'
'hide_title'
'custom_widget_class'
e.g. [advMenu title="Menu Title" nav_menu=2]
