Hello, i recently purchase a theme, in this theme the loop is:
<?php while ($custom_query->have_posts()) : $custom_query->the_post(); ?>
i tryed to add the exclude code
<?php query_posts($query_string . '&cat=-15'); ?>
it simply doesnt works 🙁
im so confused i have tried some possible solutions and cant get it
any idea please?
- The topic ‘trying to exclude some categories’ is closed to new replies.