I'm trying to do the following:
I have a Main-Blog and dozens of subblogs. I want all the subblogs to use the same theme (or child-theme, not sure yet) but have the same navigationitems of the mainblog on all subblogs? The same for the footer.
How'd I do that?
This is my Main-Blog and Landing-Page
If I click on Subblogs and chose a Subblog i just want the content area to be affected, the header and the footer should stay the same over the entire network.
Inside the content-area of a subblog I'd than like to use the pages and posts of the subblog.
What is the right way to do this?
Update:
<ul role="navigation">
<?php
//wp_list_pages('title_li=&depth=1&exclude=42,311');
$args = array(
'authors' => '',
'child_of' => 0,
'date_format' => get_option('date_format'),
'depth' => 1,
'echo' => 0,
'exclude' => '42,311',
'include' => '',
'link_after' => '',
'link_before' => '',
'post_type' => 'page',
'post_status' => 'publish',
'show_date' => '',
'sort_column' => 'menu_order, post_title',
'title_li' => '',
'walker' => ''
);
$menu = wp_list_pages( $args );
update_option('network_menu', $menu);
echo $menu;
?>
</ul>
in my child-theme I do:
<ul role="navigation">
<?php
$menu = get_option('network_menu');
echo $menu;
?>
</ul>