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

Custom Menu

描述

This plugin allows you to display a custom menu that you’ve created in your theme’s “Menus” section in a post or page. Use [menu name=”Menu Name”] in your post or page to insert the custom menu. The “name” attribute is required. Since version 1.2, you can now provide a “title” attribute to add a header title to your custom menu (e.g. [menu name=”Menu Name” title=”My Menu”].)

Arbitrary section

安裝

  1. Upload custom-menu to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place [menu name="Menu Name"] in your posts or pages wherever you want the menu to display.
  4. Optionally, provide a “title” attribute to add a header title to the custom menu.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Custom Menu” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Custom Menu 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.8

  • Fixed a problem where the plugin’s stylesheet was being included for admin pages.

1.7

  • Made changes to be compatible with WordPress version 3.3.

1.6

  • Removed anonymous function for PHP versions below 5.3.

1.5

  • Fixed a bug where the menu was always being placed at the top of the content, regardless where the short code was placed.

1.4

  • Fixed a bug where the options page was being added to the admin bar for all users, regardless if they had access to it or not.

1.3

  • Added references to the author’s website.
  • Changed the code to be object-oriented.

1.2

  • Majorly simplified the plugin’s code.
  • Requiring a valid menu name and not displaying an output if either the “name” attribute isn’t specified or a custom menu with the provided name cannot be found.
  • You can now provide a “title” attribute to add a header title to your custom menu (e.g. [menu name=”Menu Name” title=”My Menu”].)

1.1

  • Changed the plugin to use the name=”Menu Name” attribute instead of just specifying the name in the brackets.