- This topic has 8 replies, 2 voices, and was last updated 2 years, 8 months ago by Elvin.
-
AuthorPosts
-
August 12, 2021 at 7:15 pm #1894060Ken
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.
August 12, 2021 at 7:18 pm #1894061KenHmmm, looks like the link to the image is broken.
I’ll try again. One of these should do it.
ScreenshotAugust 12, 2021 at 8:05 pm #1894092ElvinStaffCustomer SupportHi 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. 😀
August 13, 2021 at 12:29 am #1894227KenHi 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.
August 13, 2021 at 12:52 am #1894241ElvinStaffCustomer SupportTry 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/
August 13, 2021 at 12:59 am #1894246KenHi 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.
August 13, 2021 at 1:06 am #1894255KenI tried David’s first one-> crashed the site.
the second one didn’t work.
Do you have any more suggestions?August 13, 2021 at 1:24 am #1894267KenHey 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.
August 15, 2021 at 9:00 pm #1896933ElvinStaffCustomer SupportHappy 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. 😀
Thanks for sharing it with us. 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.