Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nosfekgb

    (@nosfekgb)

    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

    (@guido07111975)

    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

    (@nosfekgb)

    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.