Created
March 16, 2015 04:00
-
-
Save besimhu/d680f33af8c018b86373 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Pull Featured Image | |
* | |
* This method only pulls the featured image. | |
* | |
* the_post_thumbnail( $size, $attr ); | |
* http://codex.wordpress.org/Function_Reference/the_post_thumbnail | |
*/ | |
<?php | |
if ( has_post_thumbnail() ) { | |
the_post_thumbnail( 'large', array('class' => '') ); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment