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

WordPress Trac noreply at wordpress.org
Fri Jul 25 23:28:32 UTC 2014


#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  |     Focuses:
--------------------------------------+------------------------------

Comment (by wpsuperflex):

 $content_width should really be "$possible_content_widths" that are made
 available to CSS. The idea of setting a content width (even if it's based
 on testing for things like presence of sidebars) is flawed because it
 assumes the web page can only have one possible width. Such ideas are very
 dated in the modern variable-screen world. Any reimplementation of
 $content_width should take responsive design into consideration.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21256#comment:49>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list