';
//image wrap
$markup .= '
';
$markup .= '
';
$markup .= '';
$markup .= '
';
$markup .= '
';
$markup .= '
';
$markup .= '
';
$markup .= '
';
/**
* Readmore Button
*/
if (isset($_POST['settings']['show_readmore']) && $_POST['settings']['show_readmore'] == 'yes') :
$readMore = $_POST['readMore'];
$animation = isset($readmore_hover_animation) ? ' elementor-animation-' . $readmore_hover_animation : '';
if (!isset($settings['icon']) && !Icons_Manager::is_migration_allowed()) {
$settings['icon'] = 'fas fa-arrow-right';
}
$migrated = isset($settings['__fa4_migrated'][$readMore['post_grid_icon']]);
$is_new = empty($settings['icon']) && Icons_Manager::is_migration_allowed();
$markup .= '
';
$markup .= '' . $readMore['readmore_text'] . '';
if ($readMore['post_grid_icon']['value']) :
$markup .= '';
if ($is_new || $migrated) :
ob_start();
Icons_Manager::render_icon($readMore['post_grid_icon'], ['aria-hidden' => 'true', 'class' => 'fa-fw']);
$markup .= ob_get_clean();
else :
$markup .= '';
endif;
$markup .= '';
endif;
$markup .= '';
endif;
/**
* Readmore Button End
*/
$markup .= '
';
$markup .= '
';
$markup .= element_pack_get_category_list($_POST['settings']['posts_source']);
$markup .= '
';
$markup .= '