Last Commit | 564bf02 (August 31, 2025 12:00 am) |
---|---|
Repository | https://github.com/magicoli/sub-categories-widget |
License | AGPLv3 or later |
Note: This plugin seems abandoned by it’s original author, so I took over to ensure maintenance if needed.
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 display and filter sub-categories in various ways:
- Use the parent category as the widget title
- Show post counts in bracket next to the name
- Hide empty sub-categories
- Add a link to the parent category to the widget title
- Show the full sub-category tree so it include sub-sub categories and so on as well
- Display the list as dropdown rather than as links
- Use the first category of the current post as the parent
- Exclude one or more sub-categories from the list
- List the categories in reverse order
Leave a Reply