Forums
(@fallinov)
12 years, 12 months ago
My solution :
//Query cats (minus exclude cat) $pCats = ‘5,-7,-8’; //Post to exlude $pTabEcludePost = array(get_the_ID(),8,9)
$params = array ( ‘cat’=> $pCats, ‘post__not_in’ => $pTabEcludePost, ‘posts_per_page’ => 5,)
query_posts($params);