Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author scribu

    (@scribu)

    I don’t think that’s a good idea.

    You can query for connected draft posts yourself, in PHP, as described here:

    https://github.com/scribu/wp-posts-to-posts/wiki/Basic-usage

    Thread Starter econofast

    (@econofast)

    You’re probably right. It’s probably a very low use case scenario. I did end up doing it via PHP, and I think anyone who has a similar application can probably handle it the same way.
    Thanks for considering it though. I continue to be amazed by how many times I come across your postings all over the web to solve my issues!

    Thread Starter econofast

    (@econofast)

    Okeydoke, I have this partly working. I can show all of my sessions, and the speakers that are connected will show up, whether live or draft, but ONLY on published sessions.
    How can I pull up the speakers for draft sessions?
    Right now, my each_connected looks like:
    p2p_type( 'sessions_to_speakers' )->each_connected( $post->sessions, array('post_status' => 'any'), 'speakers' );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Posts 2 Posts] draft/other statuses in shortcode?’ is closed to new replies.