Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Hidden private posts for not logged in users

The private posts are by default only visible when logged in.

Override, show private posts for everyone

Is there a clever way to override this? Make it visible to everyone?

404 page

I know about using it in queries but the big problem is the 404 page that is shown. Instead of 404 template it should use single.php template.

share|improve this question
possible duplicate of Prevent private post 404 –  s_ha_dum Jul 31 '13 at 20:41

1 Answer 1

The solution can be to use this plugin:


share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.