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

Accordion Categories

描述

Accordion Categories allows you to show categories menu in a sidebar. Every instance of the widget can be configured according to your needs.
This widget helps visitors of your site to navigate through categories easily. Auto overflow style generation is supported.

Main Features

The major features of Accordion Categories include:

  • Display categories hierarchically.
  • Show/hide empty categories (without any post).
  • Show/hide a category post count (number of post associated with a category) including all children categories
  • Show categories icons (using filter)
  • Auto overflow padding, used for creating styles dynamically in order to prevent text overflow

Contribution

You can find the plugin source code on github Accordion Categories

螢幕截圖

  • Widget appearance.
  • Widget configuration.
  • Show empty categories.
  • Autoverflow padding.
  • With category icons.

安裝

  1. Upload the entire accordion-categories folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Use Accordion Categories Menu widget in any registered sidebar Appearance->Widgets

Note

If you are interested of using category icons then refer to the FAQ section.

常見問題

Why doesn’t the feature XX work ?

If you have found a bug, or the plugin doesn’t work correctly, please feel free to contact me.
I will do my best to fix an issue.

How to use category icons ?

If you need to have an icon associated with a category I’d suggest you to add a custom category field.
I have provided an example of adding a custom category field. You can find it in the example/category-icon folder.
Or you can use your own implementation. The plugin provides a specific filter for that purpose.
The name of the filter to hook – accordion_category_icon.

評價

2017年3月22日 1 reply
That is the widget I was looking for a long time. Works really good in a sidebar. Auto overflow function is great as well.
閱讀全部1個評價

貢獻者及開發者

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

貢獻者

將 Accordion Categories 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.1.2

  • Release Date – 25 March 2017 *
  • Fix the margin style bug caused by the default css file

0.1.0

  • Release Date – 19 March 2017 *
  • Initial plugin release