// add to functions.php
add_theme_support( 'post-thumbnails' );
// optional for functions.php, if you wish to force the size of the images
set_post_thumbnail_size( 75, 40, true );//where 70 is the height and 40 the width
// Display the thumbnail in your template (within the loop)
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.