I'm currently in the conceptual phase for a multisite network.
The rough idea is: There are multiple networked sites and all publish posts for their own. The network admin is able to establish "content links" between each of the blogs. A "content link" means, that the admin is able to configure the sharing of posts between the blogs in the backend. Either single (-->
) or both way (<->
). This results in the listing pages of a blog showing also posts from other blogs.
For example if we have three blogs the "content links" could be configured like this:
A <-> B
A --> C
This would result in:
A also shows the content from B
B also shows the content from A
C also shows the content from A and also from B (through ancestry relation B -> A -> C)
Personally I would like to stick with WP_Query(), as I like the features I will get with it:
- pagination support,
- taxonomy queries,
- post_meta queries.
But it seems like I'm stuck with using switch_to_blog() massively if I want to use WP_Query(). The system has to be laid out for approx. 100 blogs with 200 posts each, which means in the worst case I have to make use of 99 calls to switch_to_blog() to render a single post list/category page.
Has anybody ever done massive content sharing between networked blogs or has an idea on howto to achieve a decent performance for this task?