<?php 
/**
 * Template part for displaying Call to action Section
 *
 *@package Business Carter
 */
?>
    <?php 
        $business_carter_call_to_action_title              = business_carter_get_option( 'business_carter_call_to_action_title' );
        $business_carter_call_to_action_button_label       = business_carter_get_option( 'business_carter_call_to_action_button_label' );
        $business_carter_call_to_action_button_url         = business_carter_get_option( 'business_carter_call_to_action_button_url' );
    ?>

    <div class="wrapper">
        <?php if ( !empty($business_carter_call_to_action_title ) )  :?>
            <header class="entry-header">
                <h2 class="entry-title"><?php echo esc_html($business_carter_call_to_action_title); ?></h2>
            </header><!-- .entry-header -->
        <?php endif;?>

        <?php if ( !empty($business_carter_call_to_action_button_label ) )  :?>
            <div class="read-more">
                <a href="<?php echo esc_url($business_carter_call_to_action_button_url); ?>" class="btn"><?php echo esc_html($business_carter_call_to_action_button_label); ?><i class="fas fa-long-arrow-alt-right"></i></a>
            </div><!-- .read-more -->
        <?php endif;?>
    </div><!-- .wrapper -->

