ID, '_kad_blog_head', true ); $height = get_post_meta( $post->ID, '_kad_posthead_height', true ); $swidth = get_post_meta( $post->ID, '_kad_posthead_width', true ); if(empty($headcontent) || $headcontent == 'default') { if(!empty($virtue['post_head_default'])) { $headcontent = $virtue['post_head_default']; } else { $headcontent = 'none'; } } if($virtue_sidebar) { $slide_sidebar = 848; } else { $slide_sidebar = 1140; } if ( !empty( $height ) ) { $slideheight = $height; } else { $slideheight = 400; } if ( !empty( $swidth ) ) { $slidewidth = $swidth; } else { $slidewidth = $slide_sidebar; } if ( $headcontent == 'flex' ) { ?>
true, 'height' => true, 'width' => true, 'frameborder' => true, 'allowfullscreen' => true, 'name' => true, 'id' => true, 'class' => true, 'style' => true, ); echo do_shortcode( wp_kses( get_post_meta( $post->ID, '_kad_post_video', true ), $allowed_tags ) ); ?>
ID ) ) { $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); ?>
ID ) ) { $img = virtue_get_image_array( $slidewidth, $slideheight, true, 'kt-slider-image', null, get_post_thumbnail_id( $post->ID ) ); echo '
'; echo ''; echo ''.esc_attr( $img['alt'] ).''; echo ''; echo ''; echo ''; echo ''; echo '
'; } } else { if(has_post_thumbnail()) { $image = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' ); echo '
'; echo ''; echo ''; echo ''; echo '
'; } } ?>