<?php 
/**
 * @package WordPress
 * @subpackage Impero
 * @since 1.0
 */
 ?>
 
    <!-- START SLIDER -->
    <div id="slider">
        <div class="wrapSlider">
            <ul class="scrolling">
                <?php while( yiw_have_slide() ) : ?>
                    <li>
                        <?php yiw_slide_the( 'featured-content', array(
                                 'container' => false,
                                 'video_width' => 439,
                                 'video_height' => 245
                              ) ) 
                        ?> 
                        
                        <?php if( yiw_slide_get( 'title' ) ): ?>
                        <div class="caption"> 
                                <h2><?php yiw_slide_the( 'title' ) ?></h2>
                                <?php yiw_slide_the( 'content' ) ?>
                        </div>
                        <?php endif ?>
                    </li>
                <?php endwhile; ?>
            </ul>
            
            <div class="opacity left"><span></span></div>
            <div class="opacity right"><span></span></div>
        </div>

    </div>
    <!-- END SLIDER --> 