WordPress.org

Forums

Exclude Category From Loop (1 post)

  1. core-basic
    Blocked
    Posted 1 year ago #

    <?php query_posts('paged=$paged'); while (have_posts()) : the_post(); ?>

    How can I exclude category 2 from that? I've tried the cat=-1. Can't get it too work.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.