Support » Fixing WordPress » Show news category

  • I have a gallery site build in wordpress, on the left i have my gallery, on the right i want one news category.
    In my index.php i exclude teh news category with this code:

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

    “11” is news category.
    ok i thinh that right.
    but;
    what is the best way to display all post on the left of my home page, and the only news category on the right.?
    Please help me.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show news category’ is closed to new replies.