[wp-hackers] Sidebar widget HTML/DOM

scribu scribu at gmail.com
Thu Jun 24 15:36:14 UTC 2010

On Thu, Jun 24, 2010 at 5:38 PM, [ ravi ] <ravi-lists at g8o.net> wrote:

> On Jun 23, 2010, at 8:22 PM, [ ravi ] wrote:
> >
> > right now, register_sidebar() provides a few options to make additions to
> the HTML in widgets through the args ‘before_widget’, ‘after_widget’,
> ‘before_title’, ‘after_title’. However, this does not give me a good way to
> style the contents of the widgets (in a theme). One possibility is to use
> ‘after_title’ and ‘after_widget’ to wrap the content in a DIV, but that’s
> not always reliable, since some widgets do not have titles.

What are you trying to do in CSS that can't be accomplished with the current
widget markup?


More information about the wp-hackers mailing list