Support » Plugin: YouTube » Why isn't this loop showing a list of thumbnails?

  • I’m trying to make my own list of you tube video thumbnails but I can’t get it to work. I’m using:

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <?php tern_wp_youtube_thumb(); ?>
    <?php endwhile; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>

    It works if I stick tern_wp_youtube_thumb(); in my index.php loop but not when I create my own loop in my page template.

    Thanks for any help

  • The topic ‘Why isn't this loop showing a list of thumbnails?’ is closed to new replies.