Title: Private posts
Last modified: March 30, 2020

---

# Private posts

 *  [nosfekgb](https://wordpress.org/support/users/nosfekgb/)
 * (@nosfekgb)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/private-posts-21/)
 * Is it possible to allow listing private posts?
    Right now, only public posts 
   are shown.

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

 *  Thread Starter [nosfekgb](https://wordpress.org/support/users/nosfekgb/)
 * (@nosfekgb)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/private-posts-21/#post-12600905)
 * I needed it for private/company inside documentation.
 * Temporarily I’ve added all status: ‘post_status’ => get_post_stati(),
    to: $vskb_post_args
   in: vskb-template.php
 * But I think it would be simple to add as $vskb_atts for anyone with similar needs
   or needing fine filter
 *  Plugin Author [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/private-posts-21/#post-12608974)
 * Hi,
 * Yes, for now you should adjust file vskb-template and add this to the post query:
 *     ```
       'post_status' => array( 'publish', 'private' ),
       ```
   
 * Now private posts turn up in the knowledge base.
 * But what about the post itself, if user is not logged in a private post will 
   not open (404).
 * Guido
 *  Thread Starter [nosfekgb](https://wordpress.org/support/users/nosfekgb/)
 * (@nosfekgb)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/private-posts-21/#post-12610699)
 * That was the idea!
    Not very elegant but it is an internal site.

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

The topic ‘Private posts’ is closed to new replies.

 * ![](https://ps.w.org/very-simple-knowledge-base/assets/icon-256x256.png?rev=1415756)
 * [VS Knowledge Base](https://wordpress.org/plugins/very-simple-knowledge-base/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/very-simple-knowledge-base/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/very-simple-knowledge-base/)
 * [Active Topics](https://wordpress.org/support/plugin/very-simple-knowledge-base/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/very-simple-knowledge-base/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/very-simple-knowledge-base/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [nosfekgb](https://wordpress.org/support/users/nosfekgb/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/private-posts-21/#post-12610699)
 * Status: not resolved