Change Widget Title <h> level

Topics: Writing themes
May 19, 2011 at 10:08 PM

I have multiple widgets in a content area.  the titles of which all get rendered with <h1>  I would like the first widget to get <h1> and the remaining to get <h2> .  Or more importantly I'd like control when adding a widget to a content area the markup that surrounds the title.  Any Idea?

Brent Seufert

May 19, 2011 at 10:14 PM

I think I'll write a post on how to change the appearance of the first element in a list. In the meantime, this is a more or less OK solution (although it's not for widgets, it could be adapted easily, I hope):