2015-06-08

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+

The post Want to get the first image from the post and display it? Here's the code you… appeared first on Jean Egan.

Show more