Older / Newer entires: Show title instead

  • TheGent


    Where do I have to change what to have “Older Entries” / “Newer Entries” say the post title?


    Syahir Hakim


    Single post page already shows the previous and next post title. If you’re talking about the home page (or any other post listing page, e.g. archive and search page), it probably make more sense to leave the link as “Older posts” and “Newer posts”, since the links don’t point to specific post, but to a list of posts.

    WordPress has the function next_post_link() and previous_post_link() for links to next or previous post (with the post title being displayed by default), but using this for a post listing page will cause the users to not be able to navigate the post listing pages.

Viewing 2 posts - 1 through 2 (of 2 total)

  • You must be logged in to reply to this topic.