wp-posts-to-posts icon indicating copy to clipboard operation
wp-posts-to-posts copied to clipboard

Is there support for wp network?

Open shelomo opened this issue 13 years ago • 5 comments

shelomo avatar Nov 11 '11 09:11 shelomo

If by that you mean "Is it possible to connect posts between different blogs in a multisite install?" the answer is no.

scribu avatar Nov 11 '11 10:11 scribu

But now that we are not limited to post ids anymore, it's feasible:

http://scribu.net/wordpress/posts-to-posts/p2p-1-1.html

scribu avatar Dec 11 '11 05:12 scribu

Looking at implementing this because they need it here at work.

I am probably going to start by adding two args to the p2p_register_connection_type():

blogs: a list of blog IDs from which to pull content posts_per_blog: number of connectables to show from each blog.

p2p_register_connection_type( array(
    'name' => 'posts_to_pages',
    'from' => 'post',
    'to' => 'post',
    'blogs' => array( 2, 4, 6 ),
    'posts_per_blog' => 3,
) );

Haven't thought much yet about the shenanigans needed for the front end to pull in the posts, but I'll keep you posted.

dbernar1 avatar Sep 29 '14 20:09 dbernar1

Hello @dbernar1, are there any progress on this?

Thanks!

abertranb avatar Feb 13 '15 11:02 abertranb

@abertranb Nope. Didn't end up implementing it, and have no plans for it at this time.

dbernar1 avatar Feb 18 '15 15:02 dbernar1