I'd like WordPress for a edit oral appliance this site like a renderer, but don't wish to posts produced for website display on my small blog. And So I did this on my small website:

  • produced private publish
  • placed on website this:

    define('WP_USE_THEMES', true) require('blog/wordpress-load.php')

    $args = array( 'post_status' => 'private', 'p' => '3019' ) query_posts( $args )

    ?>

Regrettably it doesn't work.

After i set p to publish id that's released it really works. After i publish my private publish as public it really works too. However when publish is private it doesn't work.

How you can get this to work?

I believe use get_posts could be simpler.. http://codex.wordpress.org/Template_Tags/get_posts