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

WordPress Trac noreply at wordpress.org
Wed Jan 29 09:52:55 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 itsabhik):

 What about adding `%` support in `$content_width`?

 Like;
 {{{
 if ( ! isset( $content_width ) )
         $content_width = 70%;
 }}}

 Also, +1 for the `add_theme_support`.

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


More information about the wp-trac mailing list