ID, '_kad_page_head', true ); if ( $headoption == 'flex' ) { get_template_part( 'templates/flex', 'slider' ); } else if ( $headoption == 'video' ) { ?>
ID, '_kad_posthead_width', true ); if (!empty($swidth)) { $slidewidth = $swidth; } else { $slidewidth = 1170; } ?>
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, '_kad_posthead_height', true ); $swidth = get_post_meta( $post->ID, '_kad_posthead_width', true ); $uselightbox = get_post_meta( $post->ID, '_kad_feature_img_lightbox', true ); if ( !empty( $height ) ) { $slideheight = $height; } else { $slideheight = 400; } if ( !empty($swidth ) ) { $slidewidth = $swidth; } else { $slidewidth = 1140; } if ( !empty($uselightbox ) ) { $lightbox = $uselightbox; } else { $lightbox = 'yes'; } $img = virtue_get_image_array( $slidewidth, $slideheight, true, 'kt-feature-image', null, get_post_thumbnail_id() ); ?>
'; } echo ''.esc_attr( $img['alt'] ).''; if( $lightbox == 'yes' ) { echo ''; } ?>