• Hi all!

    I have a custom meta in my posts to specify if it is geo located or not (something like geo_adress, which is empty when the post is not geo located).

    When inside the loop, I would like to get the previous and next adjacent post which ARE geo localised.

    I guess (but maybe I’m wrong) that I have to manipulate the WP get_adjacent_post with filters but I don’t know how to do it.

    Thanks!

  • The topic ‘Get adjacent posts filtered by meta key’ is closed to new replies.