/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if(has_post_thumbnail()) { the_post_thumbnail(); } else { ?> <img width="100" height="100" src="placeholder100.jpg" alt="" border="0" /> <?php } ?>