[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 04:55:15 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 need a better explanation for why we should close this than the
 complexity of a widget.  I've yet to see a widget that would not benefit
 from this addition (though I'm sure there are some edge cases).

 One of the most-requested features I get for widgets with my themes and
 plugins that add widgets (from both users and designers) is an easy way to
 apply specific styles to the widget content.  Instead of saying, "Oh yeah,
 just apply your styles to the `.widget-content` class," I have to tell
 them they must hack their CSS files to death to get something so simple
 working.

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


More information about the wp-trac mailing list