WordPress.org

Forums

YouTube
Why isn't this loop showing a list of thumbnails? (1 post)

  1. X1-Bot
    Member
    Posted 1 year ago #

    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

    https://wordpress.org/plugins/youtube-embed-plus/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • YouTube
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.