Skip to Content

How to: Get the first image from the post and display it

How to: Get the first image from the post and display it

Submitted by • February 28, 2009 Website: www.wprecipes.com

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.

Voted by:
Voted by saadVoted by Artur Kim

Visit Site 1 Comments Share

One Response to “How to: Get the first image from the post and display it” Leave a reply ›

Leave a Reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

What is WPVote?

WPVote is a place for people to find and vote on the best WordPress content online.

People can create free accounts, and then submit articles and vote for their favourites so that the cream rise to the top. WPVote is about sharing, so feel free to submit and vote upon your articles and those of your friends.

Read More on the About WPVote page