How I’m integrating blogs on my homepage

A few different people have asked me how I’m integrating blogs on my homepage, so here’s a quick and dirty tutorial:

  1. Download and install the MT plugins Multiblog and Compare.
  2. Include the following code where you would normally include MTEntries:

    <MTMultiBlogEntries include_blogs="b1,b2" lastn="n">

    b1 and b2 are the blog_id numbers and n is the last number of combined posts you wish to display.

  3. Include the following code before the start of your entries from your first blog:

    <MTIfEqual a="[MTBlogID]" b="b1">

    b1 is the blog_id of your the first blog you’re including.

  4. Customize the markup of the entries for your first blog.
  5. Close off the MTIfEqual tag.
  6. Include the following code before the start of your entries from your second blog:

    <MTIfEqual a="[MTBlogID]" b="b2">

    b2 is the blog_id of the second blog you’re including.

  7. Customize the markup of the entries for your second blog.
  8. Close off the MTIfEqual tag.
  9. Close off the MTMultiBlogEntries tag.

If you want to see exactly how I’m doing this, please refer to my main index template. Or if you have any questions, please leave them in the comments and I’ll try to help.

Comments are now closed for this entry