Support » Fixing WordPress » Get ID of adjacent posts when sorted by custom field

  • Resolved dorich

    (@dorich)


    I want to get the ID of adjacent posts.

    For posts sorted chronologically you can use:

    get_adjacent_post

    Are there any standard methods for finding the adjacent post if the posts are sorted by custom field value.
    Unless its very simple my skills are not up to writing a new function for this purpose.

    Thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Get ID of adjacent posts when sorted by custom field’ is closed to new replies.