Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a multi-site network with 3 sub-sites:

enter image description here

Is it possible to "link" or include custom post to all 3 sites from the main site?

By include or link I don't mean to make other sites to edit them, I'm asking for the visual solution.

If possible, could I do that without using a plugin?

share|improve this question
    
Without a plugin does not exist. Check this also. –  brasofilo May 30 '13 at 19:18
add comment

1 Answer 1

up vote 1 down vote accepted

You could use the technique in this Stack Overflow answer, that's basically:

switch_to_blog(1); //switch to main site
$latest_posts = get_posts($args);
foreach( $latest_posts as $post ) {
    // print post
}
restore_current_blog();

Just add 'post_type' => 'your-custom-post-type' to the query.

share|improve this answer
    
Thank you it worked! –  M3o Jun 4 '13 at 9:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.