WordPress.org

Ready to get started?Download WordPress

Forums

List category posts
I cannot get [post_status = future] to work (2 posts)

  1. bbllr87
    Member
    Posted 1 year ago #

    Hi,

    I am trying unsuccessfully to use the new parameter post_status to display future posts [post_status = future]. I am new to using this plugin.

    I have a number of posts with category datesforyourdiary that should be displayed on a password-protected page. The post date for each of these posts is that of the relevant event.

    I only want to display future posts on this page. However I see none.

    the shortcode I am using is

    [catlist name=datesforyourdiary orderby=date order=asc excerpt=yes post_status=future]

    It does not seem to make any difference whether the page is password-protected or not. I have also tried removing most of the other parameters.

    My temporary workaround is to omit the post_status parameter, and publish the posts; however this requires manual intervention once the event date has passed, something I am keen to avoid.

    Please can you tell me if I am doing something obviously wrong?

    http://wordpress.org/extend/plugins/list-category-posts/

  2. bbllr87
    Member
    Posted 1 year ago #

    What I discovered yesterday was this:

    If I am not logged in to the admin side of the website, the parameter post_status displays the correct posts.

    When I am logged in to the admin section, the page shows only posts with a post_status of published.

    As soon as I log out the correct posts are once again displayed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic