Site logo

Archived topic

Remove ellipis / dynamic content post excerpt

3 replies · Started by Elodie on October 19, 2022

Viewing posts 1–4 of 4

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 !

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');

You are welcome :)

This archived topic is closed to new replies.