[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:32:30 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 lancewillett):

 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 might help solve the title-less widget issue, but doesn't speak to
 the goal of the ticket: to add a wrapper element around just the widget
 content.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10976#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list