Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #889175


    How can I add formating in Excerpt? Like bold text and color to a word



    Hey Charlotte,

    Please, can you send a screenshot of the area that you wanna add the bold and color text?

    Best regards,
    John Torvik


    Hi John,

    You can view now on
    The Masonry under Latest Airline Staff Discounts

    1. I want to be able to add color to a word and bold text in the excerpt

    2. I want to a link to be added automatically to the blog post, like View more

    3. I have choose Large Gap but it does not really show and as you can see it is a white margin on the
    left hand side.

    4. Headline Latest Airline Staff Discounts
    I have 0 Padding bottom but there is still a lot of white space between the headline and the Masonry.
    How can I decrease that?


    I tried to use this plugin but it wasn’t working
    I have added this code to the functions.php but it does not add a link as you can see

    function new_excerpt_more( $more ) {
    return ‘ ‘ . __(‘Read More’, ‘your-text-domain’) . ‘‘;
    add_filter( ‘excerpt_more’, ‘new_excerpt_more’ );


    Hi charlotteraboff,

    All the html is stripped from the excepts when they are rendered. And the function adds an empty string.

    Best regards,


    do I understand it correctly, that Enfold is not compatible with the plugin “Rich Text Excerpts”?
    I.e. Enfold deletes all HTML-tags that one adds with the help of this plugin.

    What would you suggest instead, in order to format post excerpts?
    I need post excerpts inside of one Masonry element.

    I also tried to add HTML manually into the field “Excerpt” (without any plugins), like

    <strong>Excerpt Title</strong>
    Excerpt body text, please visit <a href=""></a>

    but these manual HTML-tags were deleted by Enfold too.


    Hi med,

    Here is a thread for you to consider

    HTML markup in excerpt has been lost

    and one more

    If you need further assistance please let us know.
    Best regards,

    • This reply was modified 5 years, 8 months ago by Victoria.


    I had seen these threads before asking my question, and the problem is that there is no solution in these threads for Excerpts inside a “Masonry”-element, except the hint of Ismael (#734529) to override Enfold core files, which means this change will last only till the next Enfold update.
    Do you have meanwhile some solution through the child theme?

    Best regards


    Hi med,

    You can copy the file av-helper-masonry.php to the child theme and make your changes there. You need to preserve the folder structure.

    Best regards,

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.