[wp-trac] [WordPress Trac] #10976: More widget parameters to aaray
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 19 08:17:10 UTC 2009
#10976: More widget parameters to aaray
-------------------------+--------------------------------------------------
Reporter: newkind | Owner: azaozz
Type: enhancement | Status: new
Priority: high | Milestone: 2.9
Component: Widgets | Version:
Severity: normal | Keywords: widget, array, content, code, parameter, add
-------------------------+--------------------------------------------------
Hi,
I'd like to request adding a two new parameters to the widget array for
easier customization when creating themes.
Parameters are : before_content and after_content (naming can be
different)
Basicaly we have now before_widget, after_widget, before_title and
after_title and it's working great, but if while creating a theme you'd
like to add more complexity to the graphics surrounding widget you have to
add more divs etc. to make it work and look great, and if you got some
divs or anything else between title and content you got a problem. Sure
you can put the code in the after_title and it will work, but what in case
if someone will decide to leave the title empty ? Your widget lacks code
and your theme messes up.
Please consider it! :)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10976>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list