Title: Exclude featured posts from loop
Last modified: August 21, 2016

---

# Exclude featured posts from loop

 *  [zinc1314](https://wordpress.org/support/users/zinc1314/)
 * (@zinc1314)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/exclude-featured-posts-from-loop/)
 * Hi! I’m learning wordpress and i need help for this. thanks!
 * I use this simple code from show posts. The problem is that i don’t want list/
   show featured posts in loop.
 *     ```
       <?php if ( have_posts() ) : ?>
   
       			<?php /* The loop */ ?>
       			<?php while ( have_posts() ) : the_post(); ?>
       				<?php get_template_part( 'content', get_post_format() ); ?>
       			<?php endwhile; ?>
   
       		<?php else : ?>
       			<?php get_template_part( 'content', 'none' ); ?>
       		<?php endif; ?>
       ```
   
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code may now have been damaged by the forum’s parser.]_

The topic ‘Exclude featured posts from loop’ is closed to new replies.

## Tags

 * [featured](https://wordpress.org/support/topic-tag/featured/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [zinc1314](https://wordpress.org/support/users/zinc1314/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/exclude-featured-posts-from-loop/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
