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.
-
Your Name
No comments yet, be the first one.




Post your opinion: