這個外掛並未在最新的 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 則留言
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