• Kenya

    (@bijee)


    I am currently running the genesis framework with the tasteful theme and I want to have the photo that is uploaded to the featured post in the editor displayed in each post under the title. Is there a way to do that?

    I am working this on my test site http://www.test.womansreflection.com

    Can you advise if there is a way to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • webmistress666

    (@webmistress666)

    // check if the post has a Post Thumbnail assigned to it.
    if ( has_post_thumbnail() ) {
    	the_post_thumbnail();
    }

    https://codex.wordpress.org/Post_Thumbnails#Examples

    You’d put this in the template, something like loop.php, though I’m not familiar with this theme.

    Thread Starter Kenya

    (@bijee)

    i contacted support for the theme and was told it does not have it built in.

    so are you saying i would put
    ( has_post_thumbnail() ) {
    the_post_thumbnail();
    }

    in the loop.php file and that should do it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘featured image in post’ is closed to new replies.