I am using a custom template for my monthly Archive page. This page will show all the posts-links (category-wise) for the particular month.

In the very first post of each month, there shall be only one image. I want to pull this image and need to show it as a thumbnail on the specific-month archive page, before the posts-links of the said month.

How can it be possible? Many thanks for kind help.

2 Answers 2


This will get the first image listed in the "gallery" section of your post (not the visible gallery if there is one, but the one if you click on insert image)



I'd use Get The Image plugin and call it in archive template for first post (on is_month() conditional if needed).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.