Title: Private Post &#039;next_post_link&#039; doesn&#039;t work
Last modified: August 19, 2016

---

# Private Post 'next_post_link' doesn't work

 *  [alexborton](https://wordpress.org/support/users/alexborton/)
 * (@alexborton)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/private-post-next_post_link-doesnt-work/)
 * Hello guys,
 * I am using some ‘Private’ posts as a client area, so the user must be subscribed(
   manually approved) to view the posts.
 * The posts are marked as private and everything works as it should, except the
   next_post_link and prev_post_link. This must be because the posts are private.
 * This is the code:
    `<?php previous_post_link('%link', 'Next Page', TRUE); ?>`
 * the TRUE means that the posts must be in the same category, which they are.
 * Any help on this much appreciated!
 * Thanks
    Alex

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [alexborton](https://wordpress.org/support/users/alexborton/)
 * (@alexborton)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/private-post-next_post_link-doesnt-work/#post-1903207)
 * I could really do with some help on this please guys!
 * Cheers,
    Alex
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/private-post-next_post_link-doesnt-work/#post-1903212)
 * what is happening if you click one of the next/prev links?
 * how are the link urls showing in the bottom of the browser?
 *  Thread Starter [alexborton](https://wordpress.org/support/users/alexborton/)
 * (@alexborton)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/private-post-next_post_link-doesnt-work/#post-1903213)
 * The links do not function at all (or even appear!) – they don’t even render into
   links. In normal circumstances they work perfectly.
 * It seems like they just ignore any private posts from that particular navigation
   type, next_post_link or prev_post_link.
 * Thanks!
 *  [publicradio](https://wordpress.org/support/users/publicradio/)
 * (@publicradio)
 * [15 years ago](https://wordpress.org/support/topic/private-post-next_post_link-doesnt-work/#post-1903354)
 * I am having the same problem. These functions seem to skip right over private
   posts.
 *  [weirdrubikscube](https://wordpress.org/support/users/weirdrubikscube/)
 * (@weirdrubikscube)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/private-post-next_post_link-doesnt-work/#post-1903406)
 * I’m having the same issue
 * has anyone a solution ?
 *  [Mushie](https://wordpress.org/support/users/mushie/)
 * (@mushie)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/private-post-next_post_link-doesnt-work/#post-1903410)
 * Having the same issue here. Much appreciated for a fix/solution.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Private Post 'next_post_link' doesn't work’ is closed to new replies.

## Tags

 * [next_post_link](https://wordpress.org/support/topic-tag/next_post_link/)
 * [prev_post_link](https://wordpress.org/support/topic-tag/prev_post_link/)
 * [private-posts](https://wordpress.org/support/topic-tag/private-posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 5 participants
 * Last reply from: [Mushie](https://wordpress.org/support/users/mushie/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/private-post-next_post_link-doesnt-work/#post-1903410)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
