[wp-testers] custom post types

ampt notfornoone at gmail.com
Thu Apr 29 08:16:10 UTC 2010


You could still use post thumbnails for this, you could add another image:
add_image_size( 'my-gallery-image-size', 635, 320, TRUE );

Then in your template file have something along these lines:

<?php if( has_post_thumbnail() ) : ?>
	
	<p class="post-thumbnail"><?php the_post_thumbnail(
'my-gallery-image-size' ); ?></p>

<?php endif; ?>
	






On 29 April 2010 13:05, Danny G Smith <dgs at riskiii.com> wrote:
> I am curious if the codex page http://codex.wordpress.org/Function_Reference/register_post_type, is complete.  I would like to be able to add a upload link, something like post thumbnails, but not for thumbnails per say, more for a gallery image 635x320.  Is there any other documentation, or can you direct me to the proper source file to look at for other capabilities?
>
>
> Danny G Smith
> dgs at riskiii.com
>
>
>
>
> _______________________________________________
> 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