- This topic has 16 replies, 3 voices, and was last updated 4 years, 3 months ago by Tom.
August 8, 2015 at 1:50 pm #127647Xuran
I’m wondering if it’s possible to show the newest post in full on index pages (mainpage, category pages), and then having all other posts just showing content until the “more” break. I didn’t find this function, so if it’s not easy to do, then I guess this is a feature request 🙂
Xuran.August 8, 2015 at 11:50 pm #127747TomLead DeveloperLead Developer
Great question! Let me know look into this to see if I can find any functions that can make this happen for you 🙂
Will get back to you.August 9, 2015 at 5:04 am #127780Xuran
Great, Tom! And thanks for the quick reply!August 9, 2015 at 10:07 am #127836TomLead DeveloperLead Developer
Give this function a try: https://gist.github.com/generatepress/4eae715c9bd1da203d78
Be sure you have your Blog Content set to show the excerpt in “Appearance > Customize > Blog > Blog Content”.August 9, 2015 at 12:09 pm #127852Xuran
This works, but only when not using manually added “read more” tags. Not a big deal, and completely workable this way, but if there’s a way to manually set the “read more” break while still having this functionality, I’d still be interested.
Anyway, thanks again for your quick response!
Xuran.August 9, 2015 at 10:30 pm #127943TomLead DeveloperLead Developer
Currently, this is the only way to “trick” the post into showing the full content.
I’ll look into this some more – I may have to add something into core to make this possible in the future.
Thanks!August 10, 2015 at 12:12 am #127980Xuran
Great, thanks again!September 2, 2015 at 12:41 pm #133851Xuran
I’m still using the function you provided, and have run into a problem.
In Masonry mode, this function seemed to work great, showing only the newest post in full, however when clicking the “load more” button to load more older posts, the first newly loaded post is also shown fully, looking really weird.
Is there any way to fix this?
Edwin.September 2, 2015 at 7:57 pm #133948TomLead DeveloperLead Developer
Try this updated code: https://gist.github.com/generatepress/4eae715c9bd1da203d78September 2, 2015 at 11:54 pm #133975Xuran
Great work Tom, that has it working perfectly,thanks a lot for sharing!September 2, 2015 at 11:55 pm #133976TomLead DeveloperLead DeveloperMarch 29, 2017 at 8:50 am #298966Joseph
Hi there, on the flip side, I cannot get my blog to stop showing full page on the blog post page. I have the setting set on Show Excerpt with 55 characters but still shows up full page on the blog post page.
I have Generate Blog 1.2.84 installed with license key.
I can send you login credentials if you are not able to view.
thanks in advanceMarch 29, 2017 at 10:32 am #299030TomLead DeveloperLead Developer
There seems to be a maintenance page up.
If “Excerpt” is set, but the full post is showing, there’s a couple things to check:
1. Is the “More Tag” added?: https://docs.generatepress.com/article/using-the-more-tag/
2. Is the “Post Format” meta box when editing the post set to something other than Standard?March 29, 2017 at 10:49 am #299038Joseph
Try this Tom. still couldn’t get it to work
Still showing full post page on the blog page, @scratchingmyheadMarch 29, 2017 at 11:35 am #299068TomLead DeveloperLead Developer
Looks like your posts only have the word “Test” in them.
Looking at the HTML, they are set to use excerpts. Once more content is added you should see it work.
- You must be logged in to reply to this topic.