Exemplo n.º 1
0
                                    <?php 
            }
        }
        ?>
  
                                </div> 
                                <div class="title-date clearfix">
                                    <div class="title-info">                                    
                                        <h<?php 
        echo absint($title_size->h);
        ?>
 class="title-h entry-title <?php 
        echo esc_attr($text_align);
        ?>
"><?php 
        echo ts_sticky_badge();
        ?>
<a href="<?php 
        the_permalink();
        ?>
"><?php 
        the_title();
        ?>
</a></h<?php 
        echo absint($title_size->h);
        ?>
>
                                    </div>
                                </div>    
                                                         
                                <?php 
             }
             echo '<div class="fluid-width-video-wrapper"><div>';
             echo '<iframe id="' . esc_attr($video_service . '-' . $slider->post->ID . '-' . $rand_id) . '" src="' . esc_url($video_src) . '" width="' . absint($w) . '" ' . $img_height . ' data-videoid="' . esc_attr($video_id) . '" class="' . esc_attr($iframe_class) . '" allowFullScreen webkitAllowFullScreen></iframe>';
             echo '</div></div>' . "\n";
         }
         if ($img) {
             echo strip_tags($link_begin, '<a>');
             echo $ts_slider_type == 'flex' && $slider_width_class == 'full' ? '' : strip_tags($img_html, '<a><img>');
             if ((trim($title) || trim($descr)) && $hide_text != '1') {
                 echo '<div class="ts-item-details">' . "\n";
                 echo $ts_slider_type == 'flex' && $w == 1360 ? '<div class="ts-item-details-inner container">' . "\n" : '<div class="ts-item-details-inner">' . "\n";
                 if ($ts_slider_source == 'portfolio') {
                     echo '<h' . absint($title_size) . ' class="portfolio-title title text-' . esc_attr($slider_text_align) . ' color-white">' . esc_html($title) . '</h' . absint($title_size) . '>' . "\n";
                     echo trim($meta) ? '<p class="portfolio-meta color-shortcode white text-' . esc_attr($slider_text_align) . '">' . strip_tags($meta, '<span>') . '</p>' . "\n" : '';
                 } else {
                     echo '<h' . absint($title_size) . ' class="blog-title title text-' . esc_attr($slider_text_align) . ' color-white">' . ts_sticky_badge() . esc_html($title) . '</h' . absint($title_size) . '>' . "\n";
                     echo '<p class="blog-meta text-' . esc_attr($slider_text_align) . '">' . strip_tags($meta, '<span>') . '</p>' . "\n";
                 }
                 echo '</div></div>' . "\n";
             }
             echo strip_tags($link_end, '<a>');
         }
         echo '</li>' . "\n";
     }
 }
 echo '</ul>' . "\n";
 echo '<span class="pause-slider smaller uppercase bg-primary"><i class="fa fa-pause"></i> ' . __('Pause', 'ThemeStockyard') . '</span>' . "\n";
 echo '<span class="play-slider smaller uppercase bg-primary"><i class="fa fa-play"></i> ' . __('Resume', 'ThemeStockyard') . '</span>' . "\n";
 echo '</div>' . "\n";
 echo '<div class="ts-main-flex-nav"></div>' . "\n";
 echo '</div>' . "\n";