For those times when you are looking to display an image from a post other than the post's featured image. The function below will grab the first image displayed in the post's content.

Simply call the function within your template to display the post's first attached image anywhere on your WordPress website.

This post was written by Steven Soehl Tampa based web developer & designer, online marketer, and WordPress.


Posted Under: ,

Leave a Reply

Be the First to Comment!

Notify of