Viewing 1 replies (of 1 total)
  • Plugin Contributor Patrick Jackson

    (@pjackson1972)

    Hi mfebrey,

    I’m glad you like the plugin!

    I’m not sure if this is what you’re looking for, but if you want to get at the featured image URL, here’s a solution I grabbed from css-tricks.

    $thumb_id = get_post_thumbnail_id();
    $thumb_url_array = wp_get_attachment_image_src($thumb_id, 'thumbnail-size', true);
    $thumb_url = $thumb_url_array[0];
Viewing 1 replies (of 1 total)

The topic ‘featured image as a background img’ is closed to new replies.