Archived topic
Remove ellipis / dynamic content post excerpt
3 replies · Started by Elodie on October 19, 2022
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 !
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.
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 :)