WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How do you set the Featured Image to appear in the actual post? (4 posts)

  1. mrlaporte
    Member
    Posted 1 year ago #

    I have the featured image set and it appears on the homepage alongside the post, but when you click on the post to read it, the image disappears.

    Is there a way to set the code so it automatically inserts into the post as well?

  2. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Is there a way to set the code so it automatically inserts into the post as well?

    It sets images to posts too. Can't figure out why it doesn't. Can you post a link to illustrate the problem?

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    you could add some the_post_thumbnail() code into single.php near the_content()

    for instance, compare the codes of index.php with single.php and see how and where the thumbnail (aka 'featured image') is output in the index template.

  4. mrlaporte
    Member
    Posted 1 year ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.