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
    
The whole point of making a post private is to prevent not logged in users (including robots) from having access to it (preventing indexing, actually). If you want to give full access to those posts just don't make them private. If you need to group them just add a private tag or put them in a category called private. –  Andrei Gheorghiu Apr 7 at 10:37

1 Answer 1

The solution can be to use this plugin:

http://wordpress.org/plugins/show-private/

share|improve this answer

Your Answer

 
discard

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.