protected function WT_VCSC_BlogList(&$wt_query, $atts, $current)
 {
     extract($atts);
     $anim_class_left = $this->wt_sc->getWTCSSAnimationClass($css_animation, $anim_type);
     $anim_class_right = $this->wt_sc->getWTCSSAnimationClass($css_animation_right, $anim_type);
     $anim_data_left = $this->wt_sc->getWTCSSAnimationData($css_animation, $anim_delay);
     $anim_data_right = $this->wt_sc->getWTCSSAnimationData($css_animation_right, $anim_delay);
     if ($grid == 'true') {
         $class = array('half', 'third', 'fourth', 'sixth');
         $cssColumn = $class[$columns - 2];
         if ($cssColumn == 'half') {
             $css = 'col-lg-6 col-md-6 col-sm-6';
         } elseif ($cssColumn == 'third') {
             $css = 'col-lg-4 col-md-4 col-sm-4';
         } elseif ($cssColumn == 'fourth') {
             $css = 'col-lg-3 col-md-3 col-sm-3';
         } elseif ($cssColumn == 'sixth') {
             $css = 'col-lg-2 col-md-2 col-sm-2';
         }
     } else {
         $start = ($current - 1) * $posts_per_column + 1;
         $end = $current * $posts_per_column;
         if ($wt_query->post_count < $start) {
             return '';
         }
     }
     //global $layout;
     $layout = 'full';
     $output = '';
     // If sortable blog shortcode
     if ($masonry == 'true') {
         wp_enqueue_script('jquery-isotope');
         wp_enqueue_script('jquery-init-isotope');
         $output .= '<div class="wt_isotope">';
         $element = 'wt_element ';
     } else {
         $element = '';
     }
     $i = 0;
     // Get global $post var
     global $post;
     if ($wt_query->have_posts()) {
         while ($wt_query->have_posts()) {
             $i++;
             $anim_class = '';
             $anim_data = '';
             if ($grid == 'false') {
                 if ($i < $start) {
                     continue;
                 }
                 if ($i > $end) {
                     break;
                 }
             }
             $wt_query->the_post();
             if ($grid == 'true' && $columns != 1) {
                 $output .= "<div class=\"{$element}{$css}\">";
             }
             if ($columns == 1) {
                 if ($i & 1) {
                     $anim_class = $anim_class_left;
                     $anim_data = $anim_data_left;
                 } else {
                     $anim_class = $anim_class_right;
                     $anim_data = $anim_data_right;
                 }
                 $output .= '<article data-order="' . $i . '" id="post-' . get_the_ID() . '" class="blogEntry col-lg-12 col-md-12 col-sm-12' . $anim_class . ' clearfix"' . $anim_data . '><span class="note-arrow"></span>';
             } else {
                 $output .= '<article data-order="' . $i . '" id="post-' . get_the_ID() . '" class="blogEntry clearfix"><span class="note-arrow"></span>';
             }
             /* Display featured entry */
             if ($featured_entry == 'true') {
                 $output .= '<header class="blogEntry_frame entry_' . $featured_entry_type . '">';
                 $thumbnail_type = get_post_meta($post->ID, '_thumbnail_type', true);
                 // Default sizes for featured image / slide
                 $width = 705;
                 $height = 380;
                 switch ($thumbnail_type) {
                     case "timage":
                         $output .= wt_theme_generator('wt_blog_featured_image', $featured_entry_type, $layout, $width, $height);
                         break;
                     case "tvideo":
                         $video_link = get_post_meta($post->ID, '_featured_video', true);
                         $output .= '<div class="blog-thumbnail-video">';
                         $output .= wt_video_featured($video_link, $featured_entry_type, $layout);
                         $output .= '</div>';
                         break;
                     case "tplayer":
                         wp_enqueue_script('mediaelementjs-scripts');
                         $player_link = get_post_meta($post->ID, '_thumbnail_player', true);
                         $output .= '<div class="blog-thumbnail-player">';
                         $output .= wt_media_player($featured_entry_type, $layout, $player_link);
                         $output .= '</div>';
                         break;
                     case "tslide":
                         $output .= '<div class="blog-thumbnail-slide">';
                         $output .= wt_get_slide($featured_entry_type, $layout, $width, $height);
                         $output .= '</div>';
                         break;
                 }
                 $output .= '</header>';
             }
             $output .= '<div class="wt_dates"><div class="entry_date">';
             $output .= '<a href="' . get_month_link(get_the_time('Y'), get_the_time('m')) . '"><span class="day">' . get_the_time('d') . '</span><span class="month">' . get_the_time('M') . '</span></a></div>';
             $output .= '</div>';
             /* Display description (post excerpt / content) */
             if ($excerpt == 'false') {
                 $output .= '<div class="blogEntry_content">';
                 if ($title == 'true') {
                     $output .= '<h3 class="blogEntry_title"><a href="' . get_permalink() . '" rel="bookmark" title="' . sprintf(__("Permanent Link to %s", 'wt_vcsc'), get_the_title()) . '">' . get_the_title() . '</a></h3>';
                 }
                 if ($meta == 'true') {
                     $output .= '<footer class="blogEntry_metadata">';
                     $output .= wt_theme_generator('wt_blog_meta');
                     $output .= '</footer>';
                 }
                 if ($read_more == 'true') {
                     $readmore_link = '<p class="readMore"><a href="' . get_permalink($id) . '" title="' . $read_more_text . '" rel="bookmark" class="read_more_link">' . $read_more_text . ' <span class="wt-readmore-rarr">&raquo;</span></a></p>';
                     $output .= apply_filters('wt_readmore_link', $readmore_link);
                 }
                 $output .= '</div>';
                 // End blogEntry_content div
             } else {
                 /* If description is YES */
                 $output .= '<div class="blogEntry_content">';
                 if ($title == 'true') {
                     $output .= '<h3 class="blogEntry_title"><a href="' . get_permalink() . '" rel="bookmark" title="' . sprintf(__("Permanent Link to %s", 'wt_vcsc'), get_the_title()) . '">' . get_the_title() . '</a></h3>';
                 }
                 if ($meta == 'true') {
                     $output .= '<footer class="blogEntry_metadata">';
                     $output .= wt_theme_generator('wt_blog_meta');
                     $output .= '</footer>';
                 }
                 /* Display all post content or post excerpt */
                 if ($full == 'true') {
                     global $more;
                     $more = 0;
                     $content = get_the_content(__("Read More", 'wt_vcsc'), false);
                     $content = apply_filters('the_content', $content);
                     $content = str_replace(']]>', ']]&gt;', $content);
                     $output .= $content;
                 } else {
                     /*						
                     $content = get_the_excerpt();
                     $content = apply_filters('the_excerpt', $content);							
                     $output .= '<div class="blogEntry_excerpt">'.$content.'</div>';
                     $output .= '<p class="readMore"><a class="read_more_link" href="'.get_permalink().'">'. __('Read more &raquo;','wt_vcsc').'</a></p>';	
                     */
                     $content = WT_VCSC_Excerpt($excerpt_length, $read_more, $read_more_text);
                     $output .= '<div class="blogEntry_excerpt">' . $content . '</div>';
                 }
                 $output .= '</div>';
                 // End blogEntry_content div
                 if ($featured_entry_type == 'left') {
                     $output .= '<div class="wt_clearboth"></div>';
                 }
             }
             $output .= '</article>';
             if ($grid == 'true' && $columns != 1) {
                 $output .= '</div>';
             }
         }
     }
     return $output;
 }
     //echo '<div class="post-category"><i class="fa fa-picture-o"></i> </div> </div>';
 }
 $thumbnail_type = get_post_meta($post->ID, '_thumbnail_type', true);
 switch ($thumbnail_type) {
     case "timage":
         if (has_post_thumbnail()) {
             echo '<header class="blogEntry_frame entry_' . $featured_image_type . '">  ';
             echo wt_theme_generator('wt_blog_featured_image', $featured_image_type, $layout);
             echo '</header>';
         }
         break;
     case "tvideo":
         $video_link = get_post_meta($post->ID, '_featured_video', true);
         echo '<header class="blogEntry_frame entry_' . $featured_image_type . '">  ';
         echo '<div class="blog-thumbnail-video">';
         echo wt_video_featured($video_link, $featured_image_type, $layout);
         echo '</div>';
         echo '</header>';
         break;
     case "tplayer":
         $player_link = get_post_meta($post->ID, '_thumbnail_player', true);
         echo '<header class="blogEntry_frame entry_' . $featured_image_type . '">  ';
         echo '<div class="blog-thumbnail-player">';
         echo wt_media_player($featured_image_type, $layout, $player_link);
         echo '</div>';
         echo '</header>';
         break;
     case "tslide":
         echo '<header class="blogEntry_frame entry_' . $featured_image_type . '">  ';
         echo '<div class="blog-thumbnail-slide">';
         echo wt_get_slide($featured_image_type, $layout);
    function wt_staticVideo($type)
    {
        global $post;
        if ($type == 'static_video') {
            if (get_post_meta($post->ID, '_featured_video', true)) {
                $featured_video = wt_check_input(get_post_meta($post->ID, '_featured_video', true));
            }
        }
        ?>
	<header id="wt_intro">
		<div class="container">
        	<div class="intro_staticVideo">
				<?php 
        echo wt_video_featured($wt_video_featured, '', '', 720, 1280);
        ?>
			</div>
		</div>
	</header>
<?php 
    }