Created
December 12, 2020 16:32
-
-
Save someguy9/bb27c13df4be7290327b9fcadd012c72 to your computer and use it in GitHub Desktop.
Displays the featured image in a <img> tag resized to the 'large' thumbnail size (use this in a loop)
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 | |
//Displays the featured image in a <img> tag resized to the 'large' thumbnail size (use this in a loop) | |
echo get_the_post_thumbnail( get_the_ID(), 'large' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment