Output The Featured Image in a Loop as a Linked Media Image

Feature Image Loop

Instead of linking a featured image to a post permalink in a loop – here is how you can link to its original image of itself. <?php // Create the variable for the large image src link $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), ‘large’ ); // Out the Post Title Using the post permalink for the post…

Read More