How to Get the first image from the post and display it in WordPress
Posted on August 19, 2011 Posted Under Tips-n-Tricks, Wordpress
2 comments
<div> 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. First, paste this function on your <em>functions.php</em> file. Once done, […]