I wanted a bit more flexibility with the Category widget than the default one from AutoMattic provided, so I separated it out and changed the code. The itch I needed to scratch first was whether or not to show empty categories– categories that do not have any public posts.
Given that I have private posts over on my writing blog, not being able to see the categories was a pain. (I do need to find a way to hack the code so it’ll count private entries when logged in, but that’s a separate issue.)
I intend on putting it together so that you’ll be able to tweak more values… but for now, it’s just adding the toggle for empty categories.
Control Panel:
Download here:
- Category Replacement widget version 0.5 (fixed to silently fail if the AutoMattic Widgets Plugin is not activated)
Older versions:
- Category Replacement widget version 0.4 (fixed to support different permalink styles correctly)
- Category Replacement widget version 0.3 (added support for drop-down list)
- Category Replacement widget version 0.2 (added support for sorting by name/id)
- Category Replacement widget version 0.1








