MakeUseOf Answers

Kenny Goodmans Blog

What going on around the world?

Israeli stocks on Wall St

Thursday, July 14, 2011

Tips on Using the WordPress Featured Image

Tips on Using the WordPress Featured Image: "Checking for a Thumbnail
At times, it can be very useful to check whether a post has a featured image set, and alter the content if not, or display a default image. The function below will display an alternate image if no thumbnail is present.

You would add this code to single.php, index.php and any other template you want to display featured images:"

No comments:

Post a Comment

Creative Licence