WordPress.org

Ready to get started?Download WordPress

Forums

Posts 2 Posts
Show Connection before post is published? (6 posts)

  1. jsing
    Member
    Posted 9 months ago #

    The connected objects only "appear" to be connected to another when the objects are "published" when viewing from the front.

    If post A (published) is connected to post B (pending), you cannot see post B as being connected.

    How can you show the connection while the post is still pending, or a draft as well?

    http://wordpress.org/plugins/posts-to-posts/

  2. jsing
    Member
    Posted 9 months ago #

    After re-reading that I can see that i stated it incorrectly. Let me try again.

    Post A is Published.

    Post B is Pending.

    In the admin I am editing Post B. I connect Post A, then save Post B as Pending. I view post B in the front end.

    I cannot see the connection to Post A with a short code or the new WP_Query method. The connection must exist in some capacity since it is persistent in the admin, how can I allow a Pending post or draft to display the connected items on the front.

    Any help would be appreciated.

  3. antoinicolas
    Member
    Posted 8 months ago #

    I have the same issue. Would be great to have some info !

  4. antoinicolas
    Member
    Posted 8 months ago #

    Well, after a lot a research, my solution is to set post 'post_status' to private, which is handled in P2P WP_Query requests.
    In my case, it doesn't affect public browsing, so it's perfect.

  5. djhsecondnature
    Member
    Posted 8 months ago #

    This isn't a great solution @antoinicolas. It may be a workaround but setting the post to private is not a regular option if you need to schedule a post or have several other plugins connected to publishing.

  6. jduffell
    Member
    Posted 6 months ago #

    Did anyone ever discover a solution to this issue?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.