• Hi guys,

    I am ridiculously new to both WordPress and PHP, so you may need to speak a little slow when dealing with me 🙂
    I’m currently building a website for a local primary school (free of charge), and one of the things they have specified as a necessity is the ability to update Class pages with news of what that class is doing. I have therefore set the site up using a multisite WordPress installation. While I get to grips with building a theme for WordPress that will resemble the theme I have for the main website, I wanted to use the loop for each subsite to display posts for each class in a .php page that is styled by the site’s own CSS and to keep the actual blog pages hidden. I have set up the main blog as a news feed on the front page of the site easily enough by taking the loop from Twenty Eleven and inserting it into the home page, but can’t figure out how to do the same thing for each of the class blogs.
    Having spent a long time combing the net for a solution (these forums included), I’ve decided it’s best to ask 🙂

    Cheers to anyone who might be able to help

Viewing 4 replies - 1 through 4 (of 4 total)
  • by taking the loop from Twenty Eleven and inserting it into the home page, but can’t figure out how to do the same thing for each of the class blogs.

    the exact same way. each individual blog works liek a single WP site. adjust the theme(s) youre using on the subsite.

    even tho you’re using multisite, the loop is the same.

    I wanted to use the loop for each subsite to display posts for each class in a .php page that is styled by the site’s own CSS and to keep the actual blog pages hidden.

    then why not use a theme that uses a home.php that does this already?

    there’s nothing fancy or multisite specific you need to do. really.

    Thread Starter egb06ad

    (@egb06ad)

    Are you saying that if I have a unique theme for each of my subsites, I can then use the loop from each of the unique themes to display posts from the blog that each theme is attached to?

    Thanks Andrea, and apologies if this is all incredibly basic.

    Yes.

    That’s how it works out of the box. Just go select a theme on each one. Or set a new default theme to one that has the home.php that you want.

    WP just knows that it should pull the posts of the blog that it is on.

    Thread Starter egb06ad

    (@egb06ad)

    That’s fantastic. Thanks ever so much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Finding/altering the loop for each of my sites on Multisite’ is closed to new replies.