Anyone thinks this should not work? I can't make it work for some reason.
add_action( 'wp_head', function() {
switch_to_blog( $blog_id );
wp_query( 'p=' . $post_id );
});
The point is that instead of displaying whatever page I am about to display, I choose content from a different blog instead.
$blog_idand$post_idin the scope? and also this code alone wont display the content. – Bainternet♦ Aug 19 '12 at 21:45get_headeras your hook – Bainternet♦ Aug 19 '12 at 22:16