Customizing your install: the home page

Customizing your install: the home page

The absolute first thing you want to do when your site is installed and running is change it off the default theme. There are actually two copies of kubrick bundled in MU. One is under the default folder, the other is under a theme folder called "home". The only difference is this one makes use of the home.php file. You can see it in (naturally) wp-content/themes/home/home.php.

This follows WordPress's template structure explained here. If you would like a relatively static home or landing page, this built in function is a handy way to get thing looking the way you want. Since you can literally put whatever you like it in, it can also be a nice workaround if you previously had some information on the main index page you'd like to integrate.

(As a side note, I feel it is a misnomer to call it a static page, when you're running php on a dynamic page and can still pull in the loop of posts if you want.)

You can always whip up your own theme, if you are able, but then you probably won't need the following advice if you can. šŸ˜‰ Pick a nice well-designed and flexible theme, then get ready to dig around in it. Strip out everything you don't want, but unless you change the theme a serious amount, please leave the designer's credit in there. It's just a nice thing to do.

There have been a lot of new themes cropping up in a magazine-style format, and I find they lend themselves well to the main blog on an MU install. See Mimbo, The Morning After, and for paid, Revolution - just to name a few. More are cropping up weekly.

The most comon question I see in the forums is people asking how to pull the most recent posts from the site onto the front page.

Easy. I use this plugin, mostly because I asked my handy hubby to do the hard work of writing the SQLs. All I did then was called the function right on the index.php page of my chosen theme.

Other people have used the sitewide feed plugin, then parsed it to display on the main page. (This also involves pasting code.) An example of how to parse a feed is on the dashboard page. Read how it's done and follow along in that file. (wp-admin/index.php and index-extra.php)

Another handy plugin for the main page is the List All plugin. You can create a full list of all blogs (excluding ones marked private), and even use it again to show only the last x created blogs.

See a working example on my main page at homeschooljournal. It uses the most recent posts plugin in the "Lastest Posts" section, pulls a feedburner feed with code provided by them to show the latest comments sitewide, and uses the list-all plugin to show the last 5 blogs created on the right sidebar.

Don't forget to disable the theme in the backend so your users will not be able use it on their blog.

  • WP MU Help - Netpond
    Posted at 23:44h, 18 June Reply

    […] this is what you are looking for? Please post if this works with the new WPMU version, also maybe this will help […]

  • Nursing home uk
    Posted at 15:07h, 20 October Reply

    Hey there great site had a good look around .and its really interesting .. thanks x

  • inder
    Posted at 18:14h, 21 November Reply

    once again thanking you andrea..
    very descriptive and informative tutorial..

  • Log Home
    Posted at 21:42h, 22 November Reply

    Great write up and very informative. I’m a regular user of Revolution themes on my WP blogs. I must say though that I’m VERY VERY disappointed with the new versions of the themes. They are very subpar as well as lacking in the originality department. I’m sure the future releases will be better, but as for now stay away. I’d recommend Woo Themes and Elegant Themes as an alternative. Great post though!

  • etoplum
    Posted at 11:15h, 24 November Reply

    The site namehugger is interesting site, good job, admin.
    Good luck…

  • Justin Phillips
    Posted at 01:49h, 27 November Reply

    I’d have to agree with Log Home. I too used to be an avid user of the Revolution themes but won’t be signing up for Revolution 2. It just isn’t the same anymore and I feel that the new designs have been ‘cheapened’. Oh well, maybe over time they will improve but currently I’m less than pleased.

  • kamyon
    Posted at 15:55h, 21 December Reply

    Hey there great site had a good look around .and its really interesting

  • calcite
    Posted at 15:46h, 01 January Reply

    I must say though that Iā€™m VERY VERY disappointed with the new versions of the themes.

Post A Comment