I can not use the thumbnail code ?
-
I used the code : <?Php tern_wp_youtube_thumb(); ?> . And of course my site is not showing .
This is all my code for the homepage :
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article class=”post-video col-md-3″ itemscope itemtype=”https://schema.org/VideoObject”>
“>
<span class=”duration”>2:01</span>
<?php tern_wp_youtube_thumb(); ?>
“>
<div class=”img-hover”></div>
<h2><?php the_title(); ?></h2>
<div class=”meta-video”>
<span><i class=”fa fa-eye”></i> 17555</span>
<span class=”comments”>
<i class=”fa fa-comments-o”></i>
0 </span>
</div></article>
<?php endwhile; endif; ?>
<?php wp_reset_query(); ?>
Can you help me to correct them
- The topic ‘I can not use the thumbnail code ?’ is closed to new replies.