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

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 13 12:03:11 UTC 2012


#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 ocean90):

 I really like the idea of using add_theme_support here.

 > This method has two flaws, it's not flexible and it does not support
 different sizes for different post-types.
 That's not right, you could can the variable on the fly, see Twenty
 Twelve.

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


More information about the wp-trac mailing list