Archived topic
Like to have no ellipse in lieu of the "Read More"
8 replies · Started by Ken on August 12, 2021
Hi there! I wanted to get rid of the 'read more" because I'm using CPT and every CPT has 'nothing', i.e., no "read more' nor 'ellipses'.
I found in your support that I could delete "read more" and then add a space. However, that created an ellipse for my non-CPT posts.
Seriously, it's no biggie, I can live with the ellipses.
I'm just curious if there is a way to get rid of the ellipse for my non-CPT post as well?
Thank you, standing by.
Hmmm, looks like the link to the image is broken.
I'll try again. One of these should do it.
Screenshot
https://share.getcloudapp.com/mXuK7G4x
Hi there,
can you try adding this CSS?
.entry-summary {
display: none;
}
If it doesn't work for you, can you link us to a sample page in question? So we can inspect the site. :D
Hi Elvin,
I can't use the code you gave me because in addition to deleting the 'ellipse" (...) it also deletes the excerpt.
I was hoping to keep the excerpt, without the 'read more' and 'ellipse'. So I only have the excerpt.
Try the PHP snippet Tom provided here.
https://generatepress.com/forums/topic/position-of-read-more-button/#post-721699
Here's how to add PHP - https://docs.generatepress.com/article/adding-php/
Hi I did some Google Research and found this:
add_filter('excerpt_more', 'change_excerpt_more');
function change_excerpt_more($more){
return '';
}
I added to the bottom of my Child functions.php.
It didn't work so I deleted it from the Child functions.php
I'm sending the page link and easy login if you need to get access to my dashboard.
I tried David's first one-> crashed the site.
the second one didn't work.
Do you have any more suggestions?
Hey Elvin!
The problem is solved!
First: I used the following code:
add_filter('excerpt_more', 'change_excerpt_more', 10, 1);
function change_excerpt_more($more){
return '';
}
Note: added the 10 to give it more priority heres the link to the page I found this:
After I pasted to the Child functions.php I was still seeing the ellipses.
Next: Went back to WP Customizer and in the "Read More" box, I deleted the 'space" I previously typed before contacting you folks.
-> Purged the cache and a-batta-bing-batta--boom the ellipses are gone. \(*<>*)/
Happy Days! Still, I want to thank you for your help. I always believe that support is a 'team effort' you good folks and myself doing whatever we can to solve the problem. Also, I hope this can be an answer to anyone else having troubles removing the ellipses.
I'm marking this topic as resolved. ᕕ( ᐛ )ᕗ
Thanks again Elvin.
Happy Days! Still, I want to thank you for your help. I always believe that support is a ‘team effort’ you good folks and myself doing whatever we can to solve the problem. Also, I hope this can be an answer to anyone else having troubles removing the ellipses.
100%! And we're sincerely glad when things get sorted for the users. :D
Thanks for sharing it with us. :)