Recent Topics

1 Jan 12, 2006 15:09    

Is it possible to have a main blog with all the categories, and archives from all other blogs listed, but just show the posts from one of the blogs??

I'm using happyblog, just in case this is helpful.

Thank you a lot,

Lucas.

2 Jan 12, 2006 15:29

This seems to work. Put the first block of code at the beginning of your sidebar:

<?php
// Trick the sidebar into thinking we're on Blog All:
$saved_blog = $blog;
$blog = 1;      // Blog All now
?>


And this next one at the end of your sidebar:

<?php
// Restore after dirty trick:
$blog = $saved_blog;
?>

3 Jan 18, 2006 14:18

It's exactly what i needed!

Thank you a lot! :)

Lucas


Form is loading...