這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP jQuery Accordion Menu

外掛說明

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

安裝方式

This section describes how to install the plugin and get it working.1. Upload the plugin through Plugins > Add New > Upload interface or upload wp-jquery-accordion-menu folder to the /wp-content/plugins/ directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
3. In the widgets section, select the “WP JQuery Accordion Menu” widget and add to one of your widget areas and set the parameters. Also you can call “get_menu” function from your theme files. Please check plugin page for using function.
4. Please make sure jQuery library is added.

常見問題集

Menu doesnt work

First – Make sure you have parent and child pages. If your pages all parents menu wont work.

Second – Make sure jQuery library is in section.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈WP jQuery Accordion Menu〉的開發相關工作。

參與者

將〈WP jQuery Accordion Menu〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • First release

1.1

  • A bug about css classes fixed.

1.2

  • “Extra code” field added into widget settings. You can add your own jquery code to control menu. (ie: to use links to load content in a div on the same page).

1.2.1

  • I find out a confict between my plugin and some others and fixed it. Thanks to Daniel K. for his help to address the issue.