Okay
  Public Ticket #2503954
Enable HTML in Excerpt
Closed

Comments

  • joshuasr started the conversation

    Hello, I have Salient theme. We need the ability to display HTML in the post excerpt in the recent posts module for the theme. I've tried installing a plugin that allows HTML in excerpts but it still won't work with Salient. Can you please tell me how I can enable basic HTML in the post excerpts?

  •  2,965
    Andrew replied

    Hi there,

    Add html "a" tag to excerpt on single post. For example if you need read more at the end of excerpt.

    <a href="url-to-post">more</a>
    

    5244675762.png


    Thanks.

  • joshuasr replied

    Hi Andrew, We've tried that and the theme/plugin is stripping all HTML tags. Here's a link: https://www.provisors.com/the-accelerator-newsletter/2020-2/

    in the preview excerpt you'll see email address isn't linking or the line breaks aren't rendering, even though we have the correct basic html tags in the excerpt. 

    I've tried installing known workin plugins to allow HTML in excerpts but they aren't working when the Salient theme and this recent post module is activated.



  •  2,965
    Andrew replied

    Hi there,

    It is not possible to display links in excerpt of recent blog element because the whole content and thumbnail act as a link.

    Thanks.

  • joshuasr replied

    How can I at least format the copy with <br> tags and <strong> tags?

  •  2,965
    Andrew replied

    Hi there,

    I am afraid that's not possible at the moment as it don't accept HTML Code

    Thanks.