';
if ($settings['eael_show_title'] || $settings['eael_show_meta'] || $settings['eael_show_excerpt']) {
echo '
';
if ($settings['eael_show_title']) {
echo '';
}
if ( $is_show_meta && 'meta-entry-footer' === $settings['meta_position'] ) {
if ($settings['eael_show_meta']) {
echo '
';
if ( isset( $settings['eael_show_author_three'] ) && 'yes' === $settings['eael_show_author_three'] ) {
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo '' . $author_link . '';
}
if ($settings['eael_show_date'] === 'yes') {
echo '';
}
echo '
';
}
}
if ($settings['eael_show_excerpt'] || $settings['eael_show_read_more_button']) {
echo '
';
if ($settings['eael_show_excerpt']) {
if (empty($settings['eael_excerpt_length'])) {
$content = strip_shortcodes(get_the_excerpt() ? get_the_excerpt() : get_the_content());
echo '
' . wp_kses( $content, Helper::eael_allowed_tags() ) . '
';
} else {
$content = wp_trim_words( strip_shortcodes(get_the_excerpt() ? get_the_excerpt() : get_the_content()), $settings['eael_excerpt_length'], $settings['excerpt_expanison_indicator']);
echo '
' . esc_html( $content ) . '
';
}
}
if ($settings['eael_show_read_more_button']) {
echo '
' . wp_kses( $settings['read_more_button_text'], Helper::eael_allowed_tags() ) . '';
}
echo '
';
}
echo '
';
}
if ( $thumbnail_html && 'yes' === $settings['eael_show_image'] ) {
echo '
';
if ( 'yes' === $settings['eael_show_post_terms'] && 'yes' === $settings['eael_post_terms_on_image_hover'] ) {
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo Helper::get_terms_as_list($settings['eael_post_terms'], $settings['eael_post_terms_max_length']);
}
echo '
';
if (isset($settings['eael_post_grid_bg_hover_icon_new']['url'])) {
echo '
![' . esc_attr(get_post_meta($settings['eael_post_grid_bg_hover_icon_new']['id'], '_wp_attachment_image_alt', true)) . '](' . esc_url($settings['eael_post_grid_bg_hover_icon_new']['url']) . ')
';
} else {
echo '
';
}
echo '
';
echo '
';
echo '
'. wp_kses( $thumbnail_html, Helper::eael_allowed_icon_tags() ) .'
';
if ( $is_show_meta && 'meta-entry-header' === $settings['meta_position'] && $settings['eael_show_date'] === 'yes') {
echo '
';
}
}
echo '