simoptimtheme
asked 7 years ago

Hello,
is it possible to create excerpts of the search results. In the standard wp minion search result page, you can see the whole page content of the results. And this is really much 🙂
I like to change it into excerpts of the results. How can i do it?
Ive found a solution:
===
Change this in the temes “content.php”

  <?php 
  if
  ( is_search() ) : 
  // Only display Excerpts for Search ?>

into this:

  <?php 
  if
  ( is_home() || is_tag() || is_category() || is_date() || is_search() ) : ?>

=========
 
But i cant find this in the wp minion content.php
 
Greetings.

1 Answers
Kido D
answered 7 years ago

Hi there,
You can use “More tag” to create excerpts of the pages, please have a look here for more details: http://en.support.wordpress.com/splitting-content/more-tag/
Hope this helps!

simoptimtheme
replied 7 years ago

Thanks for your answer Kido.
It worked for me! And its a damn simple solution 😀

Powered by DW Question & Answer Pro