Display Posts Shortcode
[resolved] post_status (2 posts)

  1. William Haynes
    Posted 3 years ago #

    Would you mind adding support for post_status to your plugin?

    My particular problem is that private posts are only listed for me, and I would like other logged in user to be able to see them too.

    I'd like to be able to do this:

    <p>[display-posts category="kittens" post_status="publish,private" posts_per_page="-1" order="ASC" orderby="title"]</p>


  2. Bill Erickson
    Plugin Author

    Posted 3 years ago #

    I've added support for post statuses: https://github.com/billerickson/display-posts-shortcode/commit/967dc76c19c8e853233a38569f9bea9c71236edf

    Usage: [display-posts post_status="publish"] [display-posts post_status="publish, private"]

    It will be in the next release, which should be available shortly. Or you can download it immediately from Github.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Display Posts Shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic