• Resolved nbz

    (@nbz)


    Hi all

    I want to hide a set of categories, stopping their posts appearing on index.php

    Is this possible?

    I have one category with loads of subcategories that I want to hide.

Viewing 1 replies (of 1 total)
  • Thread Starter nbz

    (@nbz)

    I have found the answer!

    <?php query_posts('cat=1'); ?>

    Just before the loop, and only items from category 1 and its subcategories will display!

Viewing 1 replies (of 1 total)
  • The topic ‘Do not show posts for a category on index’ is closed to new replies.