WordPress.org

Support

Support » How-To and Troubleshooting » trying to exclude some categories

trying to exclude some categories

  • 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?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘trying to exclude some categories’ is closed to new replies.