Hi peoples,
In my site I used summary.php to show all blogs recent posts in the sidebar, but now I would like to exclude one of my blogs from it.
I don´t mean from the blog list, but simply that I don´t want the recent posts from one of the blogs to show up in my sidebar. I already went through the forum and tried the solution mentionned in http://forums.b2evolution.net/viewtopic.php?t=3591 but this solution didn´t work. As before, I run the 1.10.3 version.
I guess I would have to modify this code in some way, but I have no idea about PHP, and this is keeping me busy for hours... Thanks.
<?php // Get the 3 last posts for each blog:
$BlogBList = & new ItemList( $blog=1, '', '', '', '', '', array(), '', 'DESC', '', 12, '', '', '', '', '', '', '', 'posts' );
while( $Item = $BlogBList->get_item() )
{
If you look again in summary.php you must have something like this :
There you can exclude blogs...
so I gues that you are only showing a part of the code in your exemple