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

Menu Helper

外掛說明

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.

  1. submenu_slug – Allows to define a custom id for the submenu element
  2. 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)
  3. 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
  4. include_parent – If set to true will include the parent element
  5. container_tag – Allows to set the tag element of the containers
  6. container_class – Allows to define a custom CSS class for container element. Can contain more class names separated by space
  7. item_tag – Allows to set the tag element for menu items
  8. item_class – Allows to define a custom CSS class for each submenu item
  9. 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
  10. strict_first_item_class – Allows to define a custom CSS class only for the very first item in submenu
  11. 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
  12. 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
  13. 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 simonailie@gmail.com

安裝方式

  1. Upload menu-helper.zip content to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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