Anyone know how to keep a single category of posts from showing up in a homepage JFlow slider? My choices in the theme are to select All Categories to display, or to select a single category. I want to select all BUT ___.
I have tried to exclude in the slider.php them by category number but it’s not working.
<?php $recent = new WP_Query(“cat=” .ot_option(‘slider_cat&exclude=21,209,73’). “&showposts=” .ot_option(‘slider_num’) ); while($recent->have_posts()) : $recent->the_post();?>
- The topic ‘How to exclude a single category from slider’ is closed to new replies.