Created
May 3, 2016 18:22
-
-
Save melissacabral/abbecc171b96c1f99ca334bf005e4b92 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
<?php | |
$page_for_posts = get_option('page_for_posts'); | |
if( is_home() && $page_for_posts ) : | |
echo get_the_post_thumbnail($page_for_posts, 'medium'); | |
endif; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment