Skip to content

Instantly share code, notes, and snippets.

@sguzik
Created May 1, 2012 17:43
Show Gist options
  • Save sguzik/2569959 to your computer and use it in GitHub Desktop.
Save sguzik/2569959 to your computer and use it in GitHub Desktop.
Add thumbnails to our index page
<?php
if ( has_post_thumbnail() ) {
the_post_thumbnail();
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment