Forums

Category ID Issues with 2.1.2 (4 posts)

  1. vixx
    Member
    Posted 2 years ago #

    Hi,

    I'm currently hiding a category from displaying on my index page with the following:

    <?php
       if (is_home()) {
          query_posts("cat=-16");
       }
    ?>

    What must this change to for this to work following my upgrade to 2.1.2? I've tried the Codex, but I'm having difficulties fully understanding what has changed to the category ID tag.

    Thanks!

  2. MichaelH
    moderator
    Posted 2 years ago #

  3. vixx
    Member
    Posted 2 years ago #

    Thanks for the reply, but as the index page isn't a WordPess 'page' but is in fact the index.php from my blog (i.e. not static), I'm not sure that that is applicable here? Or did I read it wrong?! :)

  4. vixx
    Member
    Posted 2 years ago #

    I hate to bump, but can anyone offer any more help with this?

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags