Okay
  Public Ticket #1120360
Custom Excerpt
Closed

Comments

  • GSTS47 started the conversation

    I want to have html in the featured page excerpt, but the theme takes the html code away.  I have tried plugins but they don't work.

  • GSTS47 replied

    Would also like to know how to change the length of the excerpt

  •  1,710
    Barry replied

    Hi there,

    The featured page widget strip all code tags from the content and excerpt field, and have a custom set excerpt length. 

    I think the easiest option in this case is to add 2 Visual Editor widgets to the page builder columns. Add your heading and text to the bottom widget and in the top visual editor widget add the following code in the text tab (not the visual tab).

    <div class="post-item page">
        <a href="#-link-to-page-here" class="post-item-image">
            <img src="#image-link-here">
            <div class="overlay">
                <div class="vertical-center">READ MORE</div>
            </div>
        </a>
    </div>
    

    Please add your image link to the src attribute of the img tag and the page link in the href attribute of the a tag.

    If you have any questions, feel free to ask

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes