Note this code:
function main_pages() {
global $wpdb, $blog_id;
switch_to_blog(1);
$pages = get_posts('post_type=page&exclude=50,77');
foreach($pages as $page) {
$link = get_permalink($page->ID);
?><li><a href="<?php echo($link); ?>"><?php echo($page->post_title); ?></a></li><?php
}
restore_current_blog();
}
That should list out pages from the home blog on any other blog. However, the permalinks are coming out referencing the current blog. See this page, top navigation, for reference:
http://holisticnetworking.net/aquarist/
Those links should be "http://holisticnetworking/portfolio," not "http://holisticnetworking.net/aquarist/portfolio."
Whatup with that?