[wp-trac] [WordPress Trac] #11364: Register Post Thumbnails for specific content/post types

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 9 15:41:53 UTC 2009


#11364: Register Post Thumbnails for specific content/post types
-------------------------------------+--------------------------------------
 Reporter:  ryan                     |        Owner:        
     Type:  defect (bug)             |       Status:  closed
 Priority:  normal                   |    Milestone:  2.9   
Component:  Post Thumbnails          |      Version:        
 Severity:  normal                   |   Resolution:  fixed 
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------

Comment(by ryan):

 Register for all types:

 {{{
 add_theme_support('post-images');
 }}}

 For particular types:

 {{{
 add_theme_support('post-images', array('post', 'page'));
 }}}

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


More information about the wp-trac mailing list