Keep excerpt styled

Forums › Forums › Search & Filter Pro › Keep excerpt styled

Tagged: , ,

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #38676

    Hi, is there any way the html that’s outputted in the search result excerpt cam be styled, it seems to be getting stripped of all tags.

    thanks!

    Ross Moderator
    #38804

    Hey Ben

    I think this is the whole point of the excerpt, to trim it down and in doing so remove the HTML markup:

    https://developer.wordpress.org/reference/functions/the_excerpt/

    I think in this case you might want the_content() instead?

    Thanks

Viewing 2 posts – 1 through 2 (of 2 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.