<a itemprop="url" href="<?php echo esc_url($link); ?>" target="<?php echo esc_attr($target); ?>" <?php theaisle_elated_inline_style($button_styles); ?> <?php theaisle_elated_class_attribute($button_classes); ?> <?php echo theaisle_elated_get_inline_attrs($button_custom_attrs); ?>>
    <span class="eltdf-btn-text"><?php echo esc_html($text); ?></span>
    <?php echo theaisle_elated_icon_collections()->renderIcon($icon, $icon_pack); ?>
    <?php if($type !== 'simple'){ ?>
        <span class="eltdf-btn-line eltdf-btn-line-top"></span>
        <span class="eltdf-btn-line eltdf-btn-line-right"></span>
        <span class="eltdf-btn-line eltdf-btn-line-bottom"></span>
        <span class="eltdf-btn-line eltdf-btn-line-left"></span>
    <?php } ?>
	<?php if($type === 'simple'){ ?>
        <span class="eltdf-btn-line"></span>
	<?php } ?>
</a>