Want to get the first image from the post and display it? Here's the code you…

Want to get the first image from the post and display it? Here's the code you need.

This code wonderful, thank you, WPRecipies!

#wordpress   #php  

Embedded Link

How to: Get the first image from the post and display it
Most WordPress users are using custom fields to display thumbs on their blog homepage. It is a good idea, but do you know that with a simple php function, you can grab the first image from the post, and display it. Just read on.

Google+: View post on Google+

Leave a Comment