[wp-trac] [WordPress Trac] #10976: Add before_content and after_content to widget options
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 21 04:46:14 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 |
---------------------------------------------------+------------------------
Comment(by 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:
{{{
before_widget - <div class="widget-notitle-content-container">
before_title - </div><h4>
after_title - </h4><div class="widget-content-container">
after_widget - </div>
}}}
http://lists.automattic.com/pipermail/wp-hackers/2010-June/032648.html.
The rest of the thread surrounds that post.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10976#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list