<?php
/**
* Subscription Section
*
* @package pranayama_yoga
*/   
    $content     = get_theme_mod('pranayama_yoga_subscription_section_title');
    $description = get_theme_mod('pranayama_yoga_subscription_section_description');
    $button_text = get_theme_mod('pranayama_yoga_subscription_call_to_action_button', __( 'Read More','pranayama-yoga' ));
    $button_link = get_theme_mod('pranayama_yoga_subscription_call_to_action_button_link');
?> 
    <div class="section-nine" id="subscription_section">
	    <div class="container">
		    <div class="text">
				<?php 
				
				if( $content ) 
				    echo '<h2>' . esc_html( $content ) . '</h2>';

				if( $description ) 
				   echo wpautop( wp_kses_post( $description ) );

				if( $button_text || $button_link ): 
				   echo '<a href= " ' . esc_url( $button_link ) . '" class="btn">';
				       echo esc_html( $button_text );
				   echo '</a>';
	            endif; 

	            ?>
			</div>
		</div>
	</div>