Sometimes when you divide up your WordPress content into categories it all ends up in sub-categories of one or two main categories that don’t have any content themselves. With the widget you can add a list of sub-categories even if the parent doesn’t have posts.
You can download this Widget from the WordPress Plugin Directory.
Please drop me a line if you use this plugin; I’d be interested to see how it is being implemented.
There is the option to use the title of the parent category as the widget title or you can enter a different title. Whichever title you choose there is an option to make that a link to the parent category.
You can choose to hide empty sub-categories (those without any posts) and you can also choose to show the number of posts in each sub-category.
If you want you can add a bunch of widgets, each showing sub-categories from a different parent.
- Added an option to display the categories in reverse order
- Added the ability to change the selection label text of the dropdown list
- Added an option to use the first category of the post as the parent
- Improved and updated sanitation and validation
- Exclude is now a multiple selection list
- Updated the dropdown to be in name order (to match the list)
- Added option to show as drop-down list
- Tidy of widget options area
- Added ability to exclude categories (with a comma delimited list)
- Added option to show the entire sub-category tree rather than just one level
- Highlights the current category if on a category archive page (use .current-cat to style)
- First production release
- Initial release