Title: getting double post
Last modified: August 21, 2016

---

# getting double post

 *  [lucawater](https://wordpress.org/support/users/lucawater/)
 * (@lucawater)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/getting-double-post/)
 * I’m using two loops to display my posts. The first displays the video posts and
   the second displays the normal posts. There needs to be two different loops because
   the markup is significantly different.
 * It looks something like this:
 *     ```
       <?php if( has_post_video() ): ?>
         [markup video post]
       <?php endif; ?>
   
       <?php if( have_posts() ): ?>
          <?php while( have_posts() ): the_post(); ?>
               [markup normal post]
          <?php endwhile; ?>
       <?php endif; ?>
       ```
   
 * It’s probably something pretty simple and fundamental, but i’m not seeing it.
   Could someone help me with this? Thanks!
 * [https://wordpress.org/plugins/featured-video-plus/](https://wordpress.org/plugins/featured-video-plus/)

The topic ‘getting double post’ is closed to new replies.

 * ![](https://ps.w.org/featured-video-plus/assets/icon.svg?rev=1170997)
 * [Featured Video Plus](https://wordpress.org/plugins/featured-video-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-video-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-video-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-video-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-video-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-video-plus/reviews/)

## Tags

 * [double](https://wordpress.org/support/topic-tag/double/)
 * [loops](https://wordpress.org/support/topic-tag/loops/)

 * 0 replies
 * 1 participant
 * Last reply from: [lucawater](https://wordpress.org/support/users/lucawater/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/getting-double-post/)
 * Status: not resolved