[wp-trac] [WordPress Trac] #10976: Add $before_content and $after_content to widget options

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 14 05:34:19 UTC 2009


#10976: Add $before_content and $after_content to widget options
-------------------------+--------------------------------------------------
 Reporter:  newkind      |        Owner:  azaozz 
     Type:  enhancement  |       Status:  closed 
 Priority:  normal       |    Milestone:  2.9    
Component:  Widgets      |      Version:         
 Severity:  normal       |   Resolution:  wontfix
 Keywords:  2nd-opinion  |  
-------------------------+--------------------------------------------------

Comment(by greenshady):

 I just added a simple example of how this could be useful.  If a more
 complex design is needed, I'm sure I could whip one up.

 What's shown in the attached image is a widget title that should not have
 any left or right margin and widget content that needs to have left and
 right margin.

 This is basically the equivalent of the `<div class="entry">` (default
 theme) that wraps the post content.

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


More information about the wp-trac mailing list