are the new forum, even if you follow some time. passion I have for close to wp is this’ looking to customize some Themes … from this portion of code I would like to exclude a category in addition to video and featured already excluded by default. but I have tried without any success:
<?php $latest = new WP_query(); $latest->query(‘showposts=’.$mytheme[‘latest’].’&cat=-‘.$mytheme[‘featured’].’,-‘.$mytheme[‘spettacoli’].’,-‘.$mytheme[‘video’]); ?>
<?php while ($latest->have_posts()) : $latest->the_post(); ?>
- The topic ‘help exclude category’ is closed to new replies.