Pulling sub-site content into specific pages


I’m working on a school website. The design calls for a collection of largely static pages, but for each class to have a blog which will be updated every few days.

I know nothing about WordPress or PHP (thought I have development experience on other platforms) but I got the static bits of the site, based on a custom theme, up without too many problems.

I set up a page for each class blog but I really wanted the authors to use the blogging engine rather than just continually updating a page. To enable this I switched on multi-site, based on URL, and set up some blogs in the sub-site for each class.

However I’m now stuck on how to make the standard index.php I created for the static pages display blog content instead for certain sections of the site.

I’d also like to add a right-hand widget that will display the most recent three entries from blogs, regardless of what class their from.

Ideally I also need to add a date to the page title for blogs, but not for the static pages on the site.

Anyone help?

EDIT: Index.php code as requested

<div id="column-center">
     <?php if (have_posts()) : while (have_posts()) : the_post();?>
     <p style="font-size:22px;"><?php the_title();?></p>
     <hr class="hr-red" />
     <div style="font-size:13px;">
     <?php the_content(); ?>
     <?php endwhile; endif; ?>
     <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
, , , Bob Tway 10 years 2012-11-12T13:38:08-05:00 0 Answers 93 views 0

Leave an answer