Support » Fixing WordPress » hide category on home page doesnt work

Viewing 2 replies - 1 through 2 (of 2 total)
  • my code is:

    <?php
    if (is_home()) {
    query_posts(“cat=-62”);
    }
    ?>
    <?php if (have_posts()) : ?>

    <?php query_posts($query_string.’orderby=title&order=ASC’); while (have_posts()) : the_post(); ?>

    I found a plugin called ‘category visibilty’ which seemed to do the trick

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hide category on home page doesnt work’ is closed to new replies.