Recent Topics

1 Oct 28, 2005 19:18    

Hello, I have mainblog in my site which shows posts from all blogs. But i dont want to show post from one of mine subblogs in mainblog.
So what should i do?

3 Nov 01, 2005 22:21

if( $blog == 1 )
{ // Special case: we aggregate all cats from all blogs
$this->request .= 'WHERE 1 ';
// hack to exclude specific blog cats from all blog aggregator
// note: category IDs are specific to blogs, so by restricting a cat you restrict the blog
$this->request .= 'AND cat_blog_ID <> 9 ';
$this->request .= 'AND cat_blog_ID <> 8 ';
$this->request .= 'AND cat_blog_ID <> 7 ';
}

Ok, sorry for my stupidness but how i must change the code to make it work on my site? how does this ID looks?


Form is loading...