Group Admins

WordPress Troubleshooting and Support

Public Group active 1 year, 5 months ago ago

WordPress support from our community

Previous | Next Posts (or Pages) with Excerpt

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #1445
    Chris Carvey

    It’s pretty straight forward to grab the previous and next posts’ title and thumbnail but I’m having fits trying to figure out how to grab those respective posts excerpts to give the reader some more context. Anybody have any success with this? Apparently, there’s little on the internets about this.


    @chrisdigital– Don’t archive pages do this?

    Chris Carvey

    I just looked at the archive.php format and I dont see what you mean.

    I’m trying to set up something like this:

    [Previous thumb ] | [Next thumb]
    [Prev title ] | [Next title]
    [Prev excerpt ] | [Next excerpt]

    While you’re currently on a post or a custom post type page. You would see this in the upper right corner or in a sidebar. The first two are very doable, not sure what to do about the last item.

    Margarete Koenen

    I placed the code for prevous title, image and excerpt at
    You would do the next link in the same way.

    Chris Carvey

    Thanks Margarette, I’ll give this a try. You’re a life saver.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.