WordPress.org

Ready to get started?Download WordPress

Forums

Category Template: Display imgs from post excerpts (4 posts)

  1. cntowerlights
    Member
    Posted 7 years ago #

    When someone clicks a category in my blog, a list of posts appears. However there are no images from the posts displayed.

    How can I enable these photos being displayed?

    Thanks so much,

    Marc
    cntowerlights.com

  2. ccoupe
    Member
    Posted 7 years ago #

    It's controlled by your choice of themes. Some do, some don't.

  3. Chris_K
    Member
    Posted 7 years ago #

    Sounds like your theme is using the_excerpt for listing categories instead of the_content.

    You could swap those (probably in archive.php).

    Or, you could grab the_excerpt_reloaded plugin. It will let you include images in excerpts (among other things).

    [edit: ccoupe types way faster than I do]

  4. cntowerlights
    Member
    Posted 7 years ago #

    Thanks for the speedy replies guys :)

    Sounds like if I swap the_excerpt with the_content, entire posts will be listed on the category page. I like how only excerpts appear right now, so I'll give that suggested plugin a try.

Topic Closed

This topic has been closed to new replies.

About this Topic