Support » Themes and Templates » Exclude posts from query

  • Is there a way the exclude posts (by id) from the query?
    Like:

    <?php
                    query_posts(array(
    				'p' => '-1307',
                    ));
                ?>

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude posts from query’ is closed to new replies.