Archived topic
Excerpt not showing After adding custom code
18 replies · Started by Sameer on March 21, 2019
Hello,
I have added the Excerpt code from Documentation but the blog isn't showing the excerpts, it's just showing the Read More button like this
Hi there,
Just to make sure, the code is only needed if you are using the custom excerpt metabox.
Otherwise you can just use the customizer option:
https://docs.generatepress.com/article/blog-content-layout/
Can you first confirm this first?
Thanks!
Yes, I tried customizing. When i select the "Excerpt" option it's showing blank on Homepage, like i have shown in the image, when i choose the "full content" option it's showing full content.
I'm not able to show excerpts even after adding the code.
Can you do the following:
- Remove the custom code
- Set the option in the customizer to excerpt with some word counts.
- Link me to the page in question. You can edit the original topic and use the private URL field.
Thanks!
Removed the custom code
Set the Excerpt option - http://prntscr.com/n1ay8c
Yet, it's not working. also, added the site url
Hmm can't see anything obvious but you can see it's working in the original site:
https://gpsites.co/marketer/
Can you try disabling all plugins except GP Premium?
Let me know :)
Still not working, i disabled every other plugin except the GP Premium plugin.
Very weird. I'm unable to duplicate this.
Can you send me the admin access to your site through Account Issues here?
https://generatepress.com/contact/
Make sure that
- Absolutely no custom functions added.
- No plugins activated other than GP Premium.
- Use the parent theme.
- Include the URL of this topic in the Account Issue form.
Thanks!
I just did, please check
Can you make sure this is done as suggested above?
No plugins activated other than GP Premium.
Yes, i have done it now.
You have some empty spaces entered in the custom excerpt:
https://www.screencast.com/t/YDY8onZG1
I removed it for you in the "Deleted" post and you can see it's now working.
Yeah, it seems to be working now. Also, can you delete the above comment or just edit the Post title you mentioned ? I'll mark it as resolved
Done :)
Thank you