Exclude category in loop
-
Hello,
I have this code and I want to exclude certain categories to be exluded.<?php
query_posts(“cat=”.$singlecatid);
$i=0;
while (have_posts()) : the_post();if($i % 2 == 0) $alt = ‘odd’;
else $alt = ‘even’;
$i++;?>
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Exclude category in loop’ is closed to new replies.