itemscope itemtype="http://schema.org/CreativeWork">
ID ) ) {
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
$style = 'background-image: url('.esc_url($image[0]).');';
$quote_class = 'kt-image-quote'; ?>
ID, '_kad_quote_author', true );
if(!empty($author)) {
echo '
';
echo '
- '. esc_html($author).'
';
echo '
';
}
?>
ID, '_kad_gallery_posthead_width', true );
$height = get_post_meta( $post->ID, '_kad_gallery_posthead_height', true );
if (!empty($height)) {
$slideheight = $height;
$imageheight = $height;
} else {
$slideheight = 400;
$imageheight = apply_filters('ascend_single_post_image_height', 400);
}
if (!empty($swidth)) {
$slidewidth = $swidth;
} else {
$slidewidth = $ascend_feat_width;
}
} elseif (has_post_format( 'image' )) {
$swidth = get_post_meta( $post->ID, '_kad_image_posthead_width', true );
$height = get_post_meta( $post->ID, '_kad_image_posthead_height', true );
if (!empty($height)) {
$imageheight = $height;
} else {
$imageheight = apply_filters('ascend_single_post_image_height', 400);
}
if (!empty($swidth)) {
$slidewidth = $swidth;
} else {
$slidewidth = $ascend_feat_width;
}
} else {
$imageheight = apply_filters('ascend_single_post_image_height', 400);
$slidewidth = $ascend_feat_width;
}
// get post summary
$postsummery = ascend_get_postsummary();
?>
itemscope itemtype="http://schema.org/BlogPosting">
ID, 'post', $ascend_has_sidebar); ?>
';
$image_gallery = get_post_meta( $post->ID, '_kad_image_gallery', true );
ascend_build_slider($post->ID, $image_gallery, $slidewidth, $slideheight, 'post', 'kt-slider-same-image-ratio');
echo '
';
} elseif($postsummery == 'slider_portrait') {
$textsize = $ascend_portraittext;
$portraitwidth = apply_filters('ascend_post_excerpt_image_width_portrait', 270);
$portraitheight = apply_filters('ascend_post_excerpt_image_height_portrait', 310);
echo '';
$image_gallery = get_post_meta( $post->ID, '_kad_image_gallery', true );
ascend_build_slider($post->ID, $image_gallery, $portraitwidth, $portraitheight, 'post', 'kt-slider-same-image-ratio');
echo '
';
} elseif($postsummery == 'video') {
$textsize = 'col-md-12'; ?>