WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. X1-Bot
    Member
    Posted 6 months 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/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.