The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Featured Video Plus
getting double post (1 post)

  1. lucawater
    Posted 2 years ago #

    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!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Featured Video Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic