[wp-hackers] Sidebar widget HTML/DOM

// ravi ravi-lists at g8o.net
Fri Jun 25 03:15:13 UTC 2010


On Jun 24, 2010, at 3:05 PM, Otto wrote:
> 
> The thing is, the widget itself controls what its contents are,
> completely. Before and after widget will always be displayed, but
> whether the widget displays the before and after title bits is really
> entirely up to the widget. So there's no 100% way to do what you're
> asking, since you can't control what the contents of the widget are.
> 

Ah yes. I realise that [now!]. I think I can live with that, for my theme. If there’s no title, specifically so marked, you don’t get the fancy collapse/expand effect. Such is life! ;-)

Michael [Adams]: yes, this is for a specific theme, but I am glad you posted the generic solution as well.

Thank you to all for the responses.

	—ravi




More information about the wp-hackers mailing list