Need help with Exerpts
AnonymousApril 13, 2012 at 9:14 pm #4227
I haven’t found exactly what I’m looking for so I think I’ll ask.
Is there a way to have some posts in the original, full length and the rest
as excerpts? When I go all full-length, my home page is too long and when I go
all excerpt, it’s too short. It would be great if only the latest post was full
length and the rest were excepted. Is that possible?
AnonymousApril 13, 2012 at 9:34 pm #27640
I see what you are asking.
I wonder if there is a conditional statement for checking if the post is the most recent??
If there is, we could manipulate only the latest post.
I’m still learning the codex… but perhaps someone else has seen this before??Mod
When I go all full-length, my home page is too long and when I go
all excerpt, it’s too short.
Although there isn’t any correct length, I do think pages that are very long and take forever to scroll to the bottom (especially that contain a lot of images that the blogger doesn’t know how to properly resize into thumbnails) are much more of a problem than pages that are very short. In fact, I tend to close the page long before I ever get to the bottom.
That said, you can control the number of excerpts that show up on a page in Settings >> Reading and entering the appropriate number in “Blog pages show at most posts”. (Note: This is a WordPress function, not a Graphene function. Also, the number you enter there excludes sticky posts, so if you enter “3”, but have two sticky posts, you will see five posts/excerpts on the front page.)
A mixture of full posts and excerpts might confuse some readers who are expecting one or the other, but to be honest, I’d like to see how this looks.
Take a look at this page:
It seems that it might be possible using a Graphene action hook widget area. Set your blog to display three full posts on the front pages. Then use the code given there in an action hook widget area that appears only on the front page (or on all of them; heck, that might be pretty cool).
On the other hand, this might also be possible using a child theme with two loops: one for the regular posts and one for excerpts. Take a look at this page:
Interested to see where anyone gets with this.
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.