Title: posts archives exclude posts
Last modified: August 18, 2016

---

# posts archives exclude posts

 *  [maggie](https://wordpress.org/support/users/maggie/)
 * (@maggie)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/posts-archives-exclude-posts/)
 * Is it posible to exclude one category-posts from a list.
    Listing the 5 new posts:
   <?php $posts = get_posts(‘numberposts=5’); foreach ($posts as $post) : start_wp();?
   > ” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”> <?php the_title();?
   > <?php the_excerpt(); ?> Thanks for your help. maggie

Viewing 1 replies (of 1 total)

 *  [tomhanna](https://wordpress.org/support/users/tomhanna/)
 * (@tomhanna)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/posts-archives-exclude-posts/#post-260963)
 * [http://codex.wordpress.org/The_Loop#Exclude_Posts_From_Some_Category](http://codex.wordpress.org/The_Loop#Exclude_Posts_From_Some_Category)

Viewing 1 replies (of 1 total)

The topic ‘posts archives exclude posts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [tomhanna](https://wordpress.org/support/users/tomhanna/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/posts-archives-exclude-posts/#post-260963)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
