Example #1
0
function parse_video_series($atts, $content)
{
    $series = isset($atts['series']) ? $atts['series'] : '';
    $ids = isset($atts['ids']) ? $atts['ids'] : '';
    $count = isset($atts['count']) ? $atts['count'] : '';
    ob_start();
    get_post_series('', $series, $ids, $count);
    $html = ob_get_clean();
    return $html;
}
							<a href="#" class="next maincolor1 bordercolor1 bgcolor1hover"><i class="fa fa-chevron-right"></i></a>
						</div><!--/carousel-button-->
					</div><!--/is-carousel-->
				</div><!--/container-->
			</div>';
}
?>
        <?php 
//video series
$series = wp_get_post_terms(get_the_ID(), 'video-series', array("fields" => "all"));
if (ot_get_option('enable_series', 'on') != 'off' && !empty($series) && function_exists('get_post_series')) {
    ?>
        <div class="video-series-wrap dark-div">
        	<div class="container text-center">
				<?php 
    get_post_series(get_the_ID());
    ?>
            </div>
        </div>
		<?php 
}
?>
        <?php 
ob_start();
//get toolbar html
?>
        <div id="video-toolbar" class="light-div">
        	<div class="container">
                <div class="video-toolbar-inner">
                	<?php 
if (ot_get_option('single_show_meta_view', 1)) {