Get prev and next post of current logged in user?
-
I have two different types of posts pages. I have a post page that always shows the posts of the site author and I have a posts page that shows the current logged in users posts. I want the next and prev links on each page to only get the next and prev posts of either site author or current logged in user, depending on what page we are on. I had a similar requirement with archives – i.e. only get those archives for current users, and someone kindly helped me out with that here. SO I figure it’s a similar sort of thing, I need to use filters?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get prev and next post of current logged in user?’ is closed to new replies.