[wp-testers] custom post types

Danny G Smith dgs at riskiii.com
Thu Apr 29 13:06:05 UTC 2010


That should work perfect.  


thanks,

Danny G Smith
dgs at riskiii.com




On Apr 29, 2010, at 3:16 AM, ampt wrote:

> 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
>> 
> _______________________________________________
> 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