[wp-testers] Thumbnail Support

ampt notfornoone at gmail.com
Sat May 1 01:39:31 UTC 2010


Yes, once you have your additional image size you will also need to
add thumbnail support via the supports argument when you register your
custom post type.

Something like:
$args = array(
	'label' => 'My Custom Posts',
	'singular_label' => 'My Custom Post',
	'public' => TRUE,
	'supports' => array( 'title', 'editor', 'thumbnail' )
);

register_post_type( 'mycustompost', $args );





On 1 May 2010 10:49, lucaskeiser at keisermedia.com
<lucaskeiser at keisermedia.com> wrote:
> Is it possible to add thumbnail support to custom post types? Something like:
>
> add_image_size( 'single-portfolio-thumbnail', 400, 9999 );
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list