[wp-trac] [WordPress Trac] #21256: New theme feature - add_theme_support( 'content-width', $defaults )

WordPress Trac noreply at wordpress.org
Tue Feb 26 09:17:34 UTC 2013


#21256: New theme feature - add_theme_support( 'content-width', $defaults )
--------------------------------------+------------------------------
 Reporter:  ramiy                     |       Owner:
     Type:  feature request           |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Themes                    |     Version:  3.4.1
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback 2nd-opinion  |
--------------------------------------+------------------------------

Comment (by ramiy):

 Replying to [comment:25 nacin]:
 > Twenty Thirteen is seeing a need to have a "content width" being
 different from the "embed width". Realistically, this isn't a "content
 width" but an "embed width" setting, anyway — CSS is what has an effect on
 the content itself, not this global.
 >
 > It just seems the whole idea of $content_width needs a re-think.

 Nacin, i think we should rename this from "'''content width'''" to
 "'''content max width'''" or even better to "'''max width'''". The
 terminology will represent the usage - set "max width" not only for
 "content width" but also for "embed width".

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


More information about the wp-trac mailing list