Hi, im using wordpress template for one of my clients. My main slider contain 4 youtube videos, you can check it out here: www.eilat-show.com
My side thumbnail doesn’t show the video img, only a youtube's default img. Can anyone help?
Here is my slider.php code:
<div id="faded">
<ul class="slides">
<?php query_posts("post_type=slider&posts_per_page=4&post_status=publish");
while ( have_posts() ) : the_post();
?>
<li class="item">
<?php the_content(); ?>
</li>
<?php endwhile; ?>
<?php wp_reset_query();?>
</ul>
<ul class="thumbs pagination">
<?php $counter = 0; ?>
<?php query_posts("post_type=slider&posts_per_page=4&post_status=publish");
while ( have_posts() ) : the_post();
?>
<li>
<span class="youtube-temp"></span>
<span class="hover-bg"></span>
<a href="#" rel="<?php echo $counter; ?>" class="title"><?php the_title(); ?></a>
<a href="<?php the_permalink(); ?>" class="link"></a>
<span class="views">
<?php if(function_exists('the_views')) { the_views(); echo _e(' views','theme1765'); } ?>
</span>
</li>
<?php $counter++; endwhile; ?>
<?php wp_reset_query();?>
</ul>
</div>