'; if ( $settings['eael_post_carousel_preset_style'] === 'two' ) { echo '
'; if ( ( $settings['eael_show_image'] == '0' || $settings['eael_show_image'] == 'yes' ) && ( has_post_thumbnail() || ! empty( $eael_fallback_thumb_url ) ) ) { echo '
'; if ($settings['eael_show_post_terms'] === 'yes') { echo wp_kses( Helper::get_terms_as_list($settings['eael_post_terms'], $settings['eael_post_terms_max_length']), Helper::eael_allowed_tags() ); } if ( isset( $settings['post_block_hover_animation'] ) && 'none' !== $settings['post_block_hover_animation'] ) { echo '
'; if( $settings['eael_post_carousel_item_style'] === 'eael-overlay' ) { // Show content echo "
"; $this->print_entry_content_style_2( $settings ); echo "
"; } else { // Show icon if ( isset( $settings['__fa4_migrated']['eael_post_grid_bg_hover_icon_new'] ) || empty( $settings['eael_post_grid_bg_hover_icon'] ) ) { Icons_Manager::render_icon( $settings['eael_post_grid_bg_hover_icon_new'] ); } else { echo ''; } } echo '
'; } echo '
' . esc_attr( get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true ) ) . '
'; echo '
'; } if( $settings['eael_post_carousel_item_style'] !== 'eael-overlay' ) { $this->print_entry_content_style_2( $settings ); } echo '
'; } else if ( $settings['eael_post_carousel_preset_style'] === 'three' ) { echo '
'; if ( ( $settings['eael_show_image'] == '0' || $settings['eael_show_image'] == 'yes' ) && ( has_post_thumbnail() || ! empty( $eael_fallback_thumb_url ) ) ) { echo '
'; if ($settings['eael_show_post_terms'] === 'yes') { echo wp_kses( Helper::get_terms_as_list( $settings['eael_post_terms'], intval( $settings['eael_post_terms_max_length'] ) ), Helper::eael_allowed_tags() ); } if ( isset( $settings['post_block_hover_animation'] ) && 'none' !== $settings['post_block_hover_animation'] ) { echo '
'; if ( $settings['eael_post_carousel_item_style'] === 'eael-overlay' ) { // Show content echo "
"; $this->print_entry_content_style_3( $settings ); echo "
"; } else { // Show icon if ( isset( $settings['__fa4_migrated']['eael_post_grid_bg_hover_icon_new'] ) || empty( $settings['eael_post_grid_bg_hover_icon'] ) ) { Icons_Manager::render_icon( $settings['eael_post_grid_bg_hover_icon_new'] ); } else { echo ''; } } echo '
'; } echo '
' . esc_attr( get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true ) ) . '
'; echo '
'; if ( $settings['eael_show_date'] === 'yes' && $settings['eael_post_carousel_item_style'] !== 'eael-overlay' ) { echo ''; } } if( $settings['eael_post_carousel_item_style'] !== 'eael-overlay' ) { $this->print_entry_content_style_3( $settings ); } echo '
'; } else { echo '
'; if ( ( $settings['eael_show_image'] == '0' || $settings['eael_show_image'] == 'yes' ) && ( has_post_thumbnail() || ! empty( $eael_fallback_thumb_url ) ) ) { echo '
'; if ($settings['eael_show_post_terms'] === 'yes') { echo wp_kses( Helper::get_terms_as_list($settings['eael_post_terms'], intval( $settings['eael_post_terms_max_length'] )), Helper::eael_allowed_tags() ); } if ( isset( $settings['post_block_hover_animation'] ) && 'none' !== $settings['post_block_hover_animation'] ) { echo '
'; if( $settings['eael_post_carousel_item_style'] === 'eael-overlay' ) { // Show content echo "
"; $this->print_entry_content_style_1( $settings ); echo "
"; } else { // Show icon if ( isset( $settings['__fa4_migrated']['eael_post_grid_bg_hover_icon_new'] ) || empty( $settings['eael_post_grid_bg_hover_icon'] ) ) { Icons_Manager::render_icon( $settings['eael_post_grid_bg_hover_icon_new'] ); } else { echo ''; } } echo '
'; } echo '
' . esc_attr( get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true ) ) . '
'; echo '
'; } if( $settings['eael_post_carousel_item_style'] !== 'eael-overlay' ) { $this->print_entry_content_style_1( $settings ); } echo '
'; } echo '';