WordPress upgrade and widget fix

I’m glad I didn’t get round to moving up to WordPress 2.0.6 as, 10 days later, 2.0.7 is out. The upgrade itself went pretty smoothly. I’ve also fixed the categories widget in my sidebar. By default it doesn’t show categories without any postings but, in a hierarchical view, it doesn’t take in to account that sub-categories may have postings. Having selected Sidebar Widgets in the plugin editor, I located the widget_categories function in question. In the call to wp_list_cats I added &hide_empty=0 to the end of the parameter. You should now be able to see my People category (empty) but also its Family and Friends sub-categories (with postings).

One Response to “WordPress upgrade and widget fix”

  1. […] of the fact that categories are now shared between links and posts, when combined with my earlier fix, is that the empty Blogroll category now appears in my sidebar. Maybe one day I’ll implement […]