Return to Snippet

Revision: 21726
at December 19, 2009 06:03 by crs

Initial Code
<?php add_theme_support('post-thumbnails'); ?> //add this to functions.php

<?php the_post_thumbnail('thumbnail'); ?> //use this to grab the thumb version of the image
<?php the_post_thumbnail('medium'); ?> //use this to grab the medium version of the image
<?php the_post_thumbnail('large'); ?> //use this to grab the large version of the image

Initial URL

Initial Description
Is also generates the .wp-post-image class for us to style

Initial Title
Wordpress 2.9 Post Thumbnail

Initial Tags
post, wordpress

Initial Language