WordPress.org

Support

Support » Plugins and Hacks » Hacks » Custom pagination (showing date instead of number)

Custom pagination (showing date instead of number)

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    @bcworkz

    It’s possible. Take a look at Function Reference/get adjacent post source. You will need to make your custom version of this that takes a post date as an argument instead of fetching the current post date.

    Your template can then get the adjacent posts, extract their dates, then get the posts adjacent to the adjacent posts, etc. Then assemble the link and date info from this resulting list of posts into the nav line that you envision.

    Cool idea, btw.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom pagination (showing date instead of number)’ is closed to new replies.
Skip to toolbar