WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] can I remove images from archive and search results? (3 posts)

  1. scormeny
    Member
    Posted 4 years ago #

    I would like to NOT show post images on my archive, category and search results pages. Is there a way to suppress the images?

    thanks!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Use the excerpt() in the relevant templates instead of the_content().

  3. scormeny
    Member
    Posted 4 years ago #

    Thanks, esmi! Duh!

    For what it's worth, I also found a useful function.php hack that lets you hack the_content() if that's what you want to do: http://www.kisaso.com/technology/printing-the-content-without-the-images-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.