• Resolved veetoe

    (@veetoe)


    I’ve uploaded Featured Images for my posts but how do I get them to display within my posts excerpts? (Only for the excerpt posts on the front page, I don’t want the Featured Image to be visable when they read the full post)

Viewing 6 replies - 1 through 6 (of 6 total)
  • I believe the fucntion you’re looking for is the_post_thumbnail(). Are you familiar with theme editing or were you looking for a plugin to do this? If you’re comfortable with editing your theme, you can try adding that function right before the_excerpt() which will most likely appear in a file called content.php

    Thread Starter veetoe

    (@veetoe)

    Do you know a plugin that works?

    From a quick Google search I was able to find a plugin that seems to do what you wanted.

    I’ve never used it, but hopefully that’ll do the trick.

    Thread Starter veetoe

    (@veetoe)

    Doesn’t work.

    I’ll try your php method.

    I should add, my theme doesn’t have any automatic excerpt functions built in, I’m doing all the excerpts myself manually for each individual post.

    So maybe I’m phrasing my question incorrectly, but basically I just want the Featured Images to appear on the front page next to each post (but I don’t want the Featured Image to be visable when they read the full post).

    Even if your theme doesn’t use excerpts, I’m pretty sure you’re going to want to put the thumbnail in content.php. Have you taken a look at that file yet? If your particular theme doesn’t have a content.php, it’s possible you’ll need to insert the thumbnail into index.php.

    What theme are you using?

    Thread Starter veetoe

    (@veetoe)

    Thanks, I got it!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How do you display "Featured Image" within posts excerpts?’ is closed to new replies.