WordPress tip: Detect if a post has at least one image
On a WordPress blog, it can be really handy to be able to know if a post has at least one image or not, for example for grabbing the first image and display it. This small code snippet do it, so just read on.
No comments yet, be the first one to post comment.