Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REPLACe
- <img src="<?php bloginfo('template_directory'); ?>/art/pic_ourwork.jpg" alt="SFData" />
- WITH
- <?php
- if (has_post_thumbnail()) {
- the_post_thumbnail();
- } else{
- ?>
- <img src="<?php bloginfo('template_directory'); ?>/art/pic_ourwork.jpg" alt="SFData" />
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement