/**
* The Template for displaying all single posts.
*
* @package BeeeTube
* @subpackage Template
* @since deTbue 1.0
*/
global $post;
// Get video layout
$video_layout = get_post_meta($post->ID, 'jtheme_video_layout', true);
if(!$video_layout)
$video_layout = get_option('jtheme_single_video_layout');
if(!$video_layout)
$video_layout = 'standard';
// Check the current post is a video post and get template based on the video layout
if(is_video()) {
if($video_layout == 'full-width')
get_template_part('single-video-full-width');
else
get_template_part('single-video');
return;
}
get_header();
$info_toggle = (int)get_option('jtheme_info_toggle');
$featuredVideo = get_option('jtheme_single_stand_status');
$relatedVideo = get_option('jtheme_related_status');
$featuredImage = get_option('jtheme_featured_imageon');
?>
if($featuredVideo == true){
get_template_part('related-posts');
}else{
echo '
';
}
?>
id="post-">
if($featuredImage == true){
?>
jtheme_thumb_html_single('custom-full');
?>
ID); ?>
$social = get_option('jtheme_social');
if($social == true){ ?>
>
''.__('Pages:', 'jtheme').' ', 'after' => '
', 'next_or_number' => 'number')); ?>
'.__('Tags:', 'jtheme').'', ', ', ''); ?>
0) { ?>
$bottomAdcode = get_option('jtheme_bottom_adcode');
$bottomAdimg = get_option('jtheme_bottom_adimg');
if(!empty($bottomAdcode) && empty($bottomAdimg)){
?>
if($relatedVideo == true){
jtheme_related_posts(array(
'number'=>get_option('jtheme_related_posts'),
'view'=>get_option('jtheme_related_posts_view', 'grid-mini')
));
}
?>
}
if(empty($bottomAdcode) && !empty($bottomAdimg)){
?>
}
?>
if($featuredVideo == true){
get_template_part('cat-featured-footer');
}else{
echo '
';
}
?>
Tweet
<script></script>