Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) {
- echo get_the_post_thumbnail($post->ID);
- } else {
- echo main_image();
- } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement