[wp-trac] [WordPress Trac] #10976: Add before_content and after_content to widget options
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 26 17:41:53 UTC 2010
#10976: Add before_content and after_content to widget options
---------------------------------------------------+------------------------
Reporter: newkind | Owner: azaozz
Type: enhancement | Status: reopened
Priority: normal | Milestone: 2.9
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion, has-patch, needs-testing |
---------------------------------------------------+------------------------
Changes (by gordonbrander):
* cc: gordonbrander (added)
Comment:
Replying to [comment:11 nacin]:
> This came up over the wp-hackers list not long ago. My solution was
indeed to use after_title and after_widget, but to prevent the improperly
formed div if the title was empty, to also use before_widget and
before_title:
That's definitely a pragmatic solution. Yet, having a bunch of empty divs
in the markup is definitely a front-end hack. It would be much better to
solve this problem instead of working around it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10976#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list