WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

next_posts_link and previous_posts_link don't show pages or posts that are private. This question has been asked many times on Wordpress forums with no solution. How do I get this navigation to show my privately published posts?

share|improve this question
Do you mean the (next/previous) archive links ? – amit Sep 7 '12 at 12:59
Not for archives, necessarily, although they may use the same tag, I can't remember. Specifically, when you're on a single post or single page (or attachment, I believe), the default themes come with a navigation at the bottom with next and previous links to help to go through the posts or pages. However, it skips over pages that are private, even if the user is logged in and able to see private posts or pages. – 3x5 Sep 7 '12 at 16:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.