Created
April 11, 2017 17:04
-
-
Save braginteractive/e511f8ba6100d798946ba6e3c2cec3e4 to your computer and use it in GitHub Desktop.
Add Featured Image to WordPress theme.
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
<a href="<?php the_permalink(); ?>"> | |
<?php the_post_thumbnail( 'full', array('class' => 'card-img-top')); ?> | |
</a> |
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 the_post_thumbnail(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment