[Resolved] Remove ellipis / dynamic content post excerpt

Home Forums Support [Resolved] Remove ellipis / dynamic content post excerpt

Home Forums Support Remove ellipis / dynamic content post excerpt

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2378931
    Elodie

    Hello,

    in elements, I am using “dynamic content > post excerpt” block in a banner.

    I want it to show the excerpt only if the meta is filled in. So I indicate “Excerpt length: 0”, but I still have the ellipsis showing up.

    How can I remove them?

    <div class="dynamic-entry-excerpt"><p> …</p></div>

    > I try solutions here but not working : https://generatepress.com/forums/topic/like-to-have-no-ellipse-in-lieu-of-the-read-more/

    Thanks !

    #2379035
    Ying
    Staff
    Customer Support

    Hi Elodie,

    Did you try this?
    https://generatepress.com/forums/topic/like-to-have-no-ellipse-in-lieu-of-the-read-more/#post-1894267

    And did you toggle the Use theme more link option? Then you can set Excerpt word count to 0 and remove theread more label in customizer > blog.

    #2379065
    Elodie

    Thanks !

    I toggle “Use theme more link” and leave label “read more” empty, it’s working 🙂

    Note :
    If it can help someone, “dynamic content > post excerpt” works also for pages (not only post). If an excerpt is filled in the meta, it is automatically displayed in the banner of the page (created in elements). You just have to activate the excerpt for the pages :

    function enable_page_excerpt() {
    	add_post_type_support('page', array('excerpt'));
    }
     add_action('init', 'enable_page_excerpt');
    #2379106
    Ying
    Staff
    Customer Support

    You are welcome 🙂

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