Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( function_exists( 'add_theme_support' ) ) {
- add_theme_support( 'post-thumbnails' );
- }
- if ( has_post_thumbnail() ) {
- the_post_thumbnail(); // if there is a featured image added to the post then it'll show it
- }
Add Comment
Please, Sign In to add comment