i wonder how i could solve the following problem:
my search.php uses <?php the_excerpt(); ?> to show the search results. If the search-query also shows PAGE-results (not only single-posts) the excerpt of a page might look weird, due to the fact, that most of my pages use listings and so the excerpt gets abnormal long and bursts the website.
I wonder if I could somehow exclude the_excerpt of Pages in the search-results and show only the Headlines (permalinks) of PAGES???
Is this even possible?
- The topic ‘search.php only show headlines of PAGES??’ is closed to new replies.