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.
- Category Replacement widget version 0.5 (fixed to silently fail if the AutoMattic Widgets Plugin is not activated)