This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Accordion Categories

Description

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

Screenshots

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

Installation

  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.

FAQ

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.

Reviews

Great Widget

That is the widget I was looking for a long time. Works really good in a sidebar. Auto overflow function is great as well.
Read all 1 review

Contributors & Developers

“Accordion Categories” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Accordion Categories” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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