If you’re known to use widgets, you may want to keep your eyes open for a small bug which I’ve come across on this blog while trying to update my newest theme.

This quirk is hard to describe, but I’ll do my best…

First, the theme I’m working on features 3 sidebars: One with a custom name, Top Side, and two using the ‘Sidebar %d’ method (i.e. Top Side, Sidebar 1 and Sidebar 2).

I created a custom text block for the first widget and added it to ‘Top Side’. So far, so good. Tweaked the functions.php file in order to remove the before and after widget <li> code and all continued to be right with the world.

Then, I decided to add a widget to the first sidebar and that’s when the sky fell down on my head. finish reading »