內容簡介
使用 jQuery 從 WordPress 頁面和 wp_list_pages 函數中創建垂直下拉菜單。您可以使用小工具或在主題文件中使用函數添加菜單。僅處理2級,並支持 wp_list_pages 的所有參數。此外,您可以使用附加參數設置菜單 div 的 ID 和類別。
菜單的小工具選項
容器 UL 的 ID:您可以設置菜單 div 的 ID。默認為 nav
容器 UL 的 CSS 類:您可以設置菜單 div 的類別。默認為空
所有其他參數均來自 wp_list_pages 函數。您可以查看功能頁面以獲取更多信息:https://codex.wordpress.org/Function_Reference/wp_list_pages#Parameters
有關更多信息,請查看插件主頁:
插件主頁
查看演示
外掛標籤
開發者團隊
原文外掛簡介
Creates vertical dropdown menus from wordpress pages with wp_list_pages function using jQuery. You can add menu using either widgets or function in theme file. Handles just 2 levels and supports every parameters wp_list_pages has. Also you can set menu div’s id and class by additional parameters.
Widget Options for Menu
ID for container UL: You can set an ID of menu div. Default: nav
CSS class for container UL: You can set an class of menu div. Default: null
All other parameters comes from wp_list_pages function. You can check function page for further information: https://codex.wordpress.org/Function_Reference/wp_list_pages#Parameters
For more information please check out the plugin home page:
Plugin Home Page
See Demo
