WordPress.org

Ready to get started?Download WordPress

Forums

Show news category (4 posts)

  1. gioska
    Member
    Posted 6 years ago #

    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.

  2. gioska
    Member
    Posted 6 years ago #

    Sorry the correct link is http://www.unmatchedstyle.com/

  3. gioska
    Member
    Posted 6 years ago #

    Please help me.

  4. gulflee
    Member
    Posted 6 years ago #

    widgetthis would help you i think

Topic Closed

This topic has been closed to new replies.

About this Topic