';
$posts_layout_class = $apollo13framework_a13->get_option( 'blog_post_look' );
$special_post_formats = array( 'link', 'status', 'quote', 'chat' );
$post_format = get_post_format( $post->ID );
$is_special_post_format = ( in_array( $post_format, $special_post_formats ) );
$post_classes = $is_special_post_format ? array('archive-item post', 'special-post-format') : array('archive-item post');
$link_it = $is_special_post_format ? false : true;
$html .= '
';
if ( post_password_required( $post->ID ) ) {
$html .= '
';
} else {
//classic layout of post
$html .= apollo13framework_get_top_image_video( $link_it );
ob_start();
get_template_part( 'content', $post_format );
$html .= ob_get_contents();
ob_end_clean();
if ( $posts_layout_class === 'horizontal' ) {
$html .= '
';
}
}
$html .= '
';
$html .= '
';
return $html;
}
function vc_gitem_template_attribute_a13_work_body( $value, $data ) {
/** @noinspection PhpUnusedLocalVariableInspection */
global $post; /* is is used in extract */
extract( array_merge( array(
'post' => null,
), $data ) );
$html = '';
$html .= apollo13framework_albums_list_item(false, 'wpbakery');
$html .= '
';
return $html;
}
function vc_a13_post_meta_1_render() {
return '