< class="dnxte-entry-title">
>
%2$s
',
esc_url(get_avatar_url($authordata->ID)),
et_pb_get_the_author_posts_link()
) : '';
$date_icon = sprintf('
%1$s', et_pb_process_font_icon('}'));
$bottom_date = 'bottom' == $args['date_position'] ? sprintf(
'
%2$s %1$s',
get_the_date( $meta_date ),
$date_icon
) : '';
// $bottom_date = 'bottom' == $args['date_position'] ? sprintf(
// '
%2$s %1$s',
// the_time('l, F jS, Y'),
// $date_icon
// ) : '';
$category_icon = '
';
$categories_list = 'off' !== $args['show_categories'] ? et_builder_get_the_term_list(', ') : '';
$categories = 'off' !== $args['show_categories'] ? sprintf(
'
%2$s
%1$s
',
et_core_esc_wp($categories_list),
et_core_intentionally_unescaped( $category_icon, 'fixed_string' )
) : '';
printf('%1$s %2$s %3$s',
et_core_esc_previously( $author ),
et_core_esc_previously( $bottom_date ),
et_core_esc_previously( $categories )
);
?>
post_excerpt );
$content = rtrim( wp_trim_words( $content, $excerpt_length) );
} else{
$content = $post->post_content;
$content = preg_replace( '@\[caption[^\]]*?\].*?\[\/caption]@si', '', $content );
$content = preg_replace( '@\[et_pb_post_nav[^\]]*?\].*?\[\/et_pb_post_nav]@si', '', $content );
$content = preg_replace( '@\[audio[^\]]*?\].*?\[\/audio]@si', '', $content );
$content = preg_replace( '@\[embed[^\]]*?\].*?\[\/embed]@si', '', $content );
$content = wp_strip_all_tags( $content );
$content = et_strip_shortcodes( $content );
$content = et_builder_strip_dynamic_content( $content );
$content = apply_filters( 'et_truncate_post', $content, get_the_ID() );
$content = rtrim( wp_trim_words( $content, $excerpt_length) );
}
echo et_core_intentionally_unescaped( $content, 'html' );
}else if('on' === $args['dnext_content_source']){
echo et_core_intentionally_unescaped( apply_filters( 'the_content', $post->post_content ), 'html' );
}
?>