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

Dynamic Taxonomy Menu Items

外掛說明

This is a lightweight plugin to add a dynamic sub-menu to a WordPress menu. It is known to work with Nav Menu Roles.
Caution is indicated if trying to use it with a theme, menu plugin, or anything that makes significant changes to how the WordPress menu is handled. It can insert a
single sub-menu using any public taxonomy, such as catagories, tags, as well as woocommerce product categories or tags. A seperate sub-menu for bbPress forums is
available.

Setup

The settings screen can be reached either via the settings link on the ‘Installed Plugins’ page, or via the ‘Dynamic Taxonomy’ option on the ‘Appearence’ menu.

The settings screen will enable you to control things like:

  • Which menu the sub-menu is added to, default is the primary menu.
  • Which taxonomy is displayed, default is categories.
  • The title used for the sub-menu, default is ‘Articles’.
  • The position in the menu, default is to appear as the second menu item.
  • The maximum number of items on the submenu, default is 7.
  • Listing order of the sub-menu items, available is Term Name, Post Count (default), and Term ID.
  • Which terms to exclude from the list, default is none, works for Category only (for now).
  • Whether to include an item count on the sub-menu, default is yes.
  • Items can also be limited by the count, ie: nothing with a count of less then N. Default is 0.

The plugin also allows you to show bbPress forums, although those options are limited to:

  • Which menu to add the forum list to.
  • What position in the menu to take, default is the third menu item.
  • What text to use as the menu option, default is ‘Forums’.

Development

If you have an issue or question, the author can contacted on the WordPress support forum or via opening an issue on GitHub.

If you wish to contribute, development is done on Github.

安裝方式

Install from WordPress repository

  1. In your admin dashboard, navigate to ‘Plugins->Add New’.
  2. In the Search type ‘Dynamic Taxonomy’. It showed up on page 3 last time I performed this search.
  3. Locate this plugin in the list, and install it.
  4. Activate the plugin via the prompt. A message should show confirming activation was successful.

Manual Upload

  1. Download the zip file from WordPress or the plugin’s GitHub repository.
  2. In your admin dashboard, navigate to ‘Plugins->Add New’.
  3. Select the Upload option and hit “Choose File.”
  4. When the pop-up appears select the downloaded file.
  5. Follow the on-screen instructions and upload the zip file.
  6. Activate the plugin. WordPress should show an alert confirming activation was successful.

使用者評論

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

參與者及開發者

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

參與者

〈Dynamic Taxonomy Menu Items〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

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

對開發相關資訊感興趣?

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

變更記錄

1.1.1

  • Certify: Works with WooCommerce product categories and tags.
  • Upgrade: Updated core files.

1.1.0

  • Certify: Works with WordPress 5.4.1
  • Enhancement: Add bbPress forums.
  • Enhancement: Combined options ‘Order By’ and ‘Order Direction’ into new option ‘Item Order’.
  • Upgrade: Updated core files.

1.0.2

  • Bugfix: Settings screen spinners were not working properly.

1.0.1

  • Minor: Some code cleanup.

1.0.0

  • Initial release.