?> "<?php yit_slider_class($slider_class); ?> style="<?php echo $width_inline; ?> "> <div class="ei-slider-loading"><?php _e('Loading', 'yit'); ?> </div> <ul class="ei-slider-large"> <?php while (yit_have_slide()) { global $_wp_additional_image_sizes; list($thumbnail, $thumb_width, $thumb_height) = yit_image("id=" . yit_slide_get('item_id') . "&size=thumb-slider-elastic&output=array"); $thumbs .= "<li><a href=\"#\">" . strip_tags(yit_slide_get('title')) . " - " . strip_tags(yit_slide_get('clean-content')) . "</a><img src=\"{$thumbnail}\" alt=\"" . strip_tags(yit_slide_get('slide_title')) . " - " . strip_tags(yit_slide_get('clean-content')) . "\" /></li>\n"; ?> <li<?php yit_slide_class('slide align-' . yit_slide_get('layout_slide')); ?> > <?php yit_slide_the('featured-content', array('container' => false)); ?> <?php if (yit_slide_get('title') != '' || yit_slide_get('subtitle') != '') {
$thumbs = ''; $slider_type = yit_slide_get( 'slider_type' ); $slider_class = 'group'; if ( ! $is_primary ) $slider_class = 'container'; $slider_class .= yit_slide_get('align') != '' ? ' align' . yit_slide_get('align') : ''; $background = ( yit_slide_get( 'header-background' ) != '' ) ? 'style="background-color: ' . yit_slide_get( 'header-background' ) . ';"' : '' ; if ( ! has_action( 'yit_after_header', 'yit_slider_space' ) ) add_action( 'yit_after_header', create_function( '', "echo \"<div style='height:130px;'></div> \";" ) ); ?> <div class="thumb_wrapper <?php if ($background != '') echo 'back-color' ?>" <?php echo $background ?>> <!-- START SLIDER --> <div id="<?php echo $slider_id ?>"<?php yit_slider_class($slider_class) ?>> <div class="showcase group"> <?php while( yit_have_slide() ) : list( $thumbnail, $thumb_width, $thumb_height ) = yit_image( "id=" . yit_slide_get('item_id') . "&size=thumb-slider-thumbnails&output=array" ); ?> <div class="showcase-slide"> <div class="showcase-content"> <!-- If the slide contains multiple elements you should wrap them in a div with the class .showcase-content-wrapper. We usually wrap even if there is only one element, because it looks better. --> <div class="showcase-content-wrapper"> <div class="showcase-content-slides"> <?php yit_slide_the( 'featured-content', array( 'container' => false ) ) ?> </div> </div> </div>