WordPress.org

Ready to get started?Download WordPress

Forums

Featured image in post excerpts only (4 posts)

  1. scoopster35
    Member
    Posted 2 years ago #

    Hi, I used weaver as my template. I can't fathom featured image. What I want is for my featured image to appear next to archived posts when displayed on category pages and on my home page for posts as they move down the system.
    What I don't want is for this image to appear on the full post.
    I can't make this happen. On my home page I have current post (a full post) followed by excerpts. On search pages or category pages, I want my excerpted post to display an image. This does not happen at the moment.
    Any help welcome

  2. keesiemeijer
    moderator
    Posted 2 years ago #

  3. dragonflies.cz
    Member
    Posted 2 years ago #

    Hi,I am joing this thread as this is exactly what I like to have on my site. Unfortunately, the review suggested above does not help me too much as I am just an ordinery user of wp, not a php geek. Nevertheless I've tried to go to code, however, with no success: when I delete the line about post_thumbnails in post.php, I lose "featured image" both in the post and in the excerpt. But I like to keep it in excerpts, but not in the post. I think there must be some specific code on excerpts as they show different text than post body so I assume it should be possible to have the post_thumbnail code just in there, not in the post body. But no idea how what&how to edit. Of course, the ultimate ideal would be to have a checkmark in wp post editor to choose the way how the featured image is published, but this is perhaps too far on wish list.
    Fot now, I'll be happy to know how to edit the code. Any help welcome.

  4. keesiemeijer
    moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic