I’m creating a box on my homepage that shows the latest single post. I know how to create a query and a loop to show the latest post but I want to display the image associated with that post if there is one. What would be the best way to do this? Basically what I want is to display the post title, excerpt and a thumbnail of any image included in the latest post (if there is one).
- The topic ‘display latest post with image on homepage’ is closed to new replies.