[resolved] How to Preview Multipe Posts (3 posts)

  1. holling
    Posted 5 years ago #

    Hi All -

    I've developed a weekly newsmag for my client ( http://www.meatlessmonday.org ) with a number of custom templates. Each week they publish a set of new articles and recipes, all of which are scheduled to be published at the same time early Monday morning, with the homepage pulling together all of the articles.

    The issue is that there is no way (as far as I know) to preview a set of posts that are shown on one page. Would be great if I could access the posts' status and use that to build a duplicate template that could only be accessed by an admin.

    Also thought about using a custom field to do this, but AFAIK, the loop won't pull the article in unless it's actually published.

    Any suggestions?

    Thanks! Holling

  2. MichaelH
    Posted 5 years ago #

    Have you tried the query_posts post_status='draft' argument?

  3. holling
    Posted 5 years ago #

    Thanks Michael! - was not aware of this. Will give it a try.


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.