[resolved] No Images in Search (2 posts)

  1. xavier039
    Posted 8 years ago #

    How do I turn off the images so they are not shown when I use my search bar. Right now all posts that have images in them have the images also show up in the search part. How can I just have an excerpt of text only in the search? I looked on this forum and found nothing answering my question.

  2. moshu
    Posted 8 years ago #

    You edit your search.php - and use the_excerpt instead of the_content.

Topic Closed

This topic has been closed to new replies.

About this Topic