- This topic has 1 reply, 2 voices, and was last updated 6 years, 1 months ago by .
-
Ticket
-
Hi Phil
To get rid of some shortcode shown in search result pages caused by VC you provided the following code to overwrite the search.php lines 41-43.
<div class=”entry-content”><?php the_excerpt(); ?></div>
I also already added the excerpt field for static pages in the functions.php in my child theme. So far so good. The field shows up and I can add some text.
Unfortunately I’m not a programmer and stuff like that uses a lot of my grey cells 🙂
So before I change the search.php I’d like to know how the results will look like for pages that have no excerpt written. Do they still show the same text as before or what will their behaviour be? Or in other terms: Do I have to write an excerpt for every single page now in order to get reasonable search results?Thanks for helping!
Heidi
Sorry, only verified customers can view ticket replies.