WordPress.org

Ready to get started?Download WordPress

Forums

Recent Posts Plus
[resolved] Private post (2 posts)

  1. fxtv
    Member
    Posted 1 year ago #

    Is there an option or a way to exclude private posts from the listed posts?

    Fran├žois-Xavier

    http://wordpress.org/extend/plugins/recent-posts-plus/

  2. pjgalbraith
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Fran├žois,

    Only logged in users should see the private posts as per http://codex.wordpress.org/Class_Reference/WP_Query#Status_Parameters

    Just use this as your WP_Query option to force removal of private posts.

    {
    "post_status":"publish"
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic