Home Forums Unicon Search result page

Home Forums Unicon Search result page

This topic contains 1 reply, has 2 voices, and was last updated by  Phil (Support) 5 years, 4 months ago.

  • Creator
    Ticket
  • #88611

    Boleyn22
    Buyer

    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.