<?php
	if ( ! defined( 'ABSPATH' ) ) exit;
	if ( ! function_exists( 'boostify_above_footer' ) ) :
	function boostify_above_footer() {
		$boostify_hs_above_footer 			= get_theme_mod('hs_above_footer','1');	
		$boostify_footer_above_ttl 			= get_theme_mod('footer_above_ttl',__('Do you like that you see?','clever-fox'));
		$boostify_footer_above_btn_lbl1 		= get_theme_mod('footer_above_btn_lbl1',__('Request a Quote','clever-fox'));
		$boostify_footer_above_btn_url1 		= get_theme_mod('footer_above_btn_url1','#');
		$boostify_footer_above_btn_mdl_text 	= get_theme_mod('footer_above_btn_mdl_text',__('or','clever-fox'));
		$boostify_footer_above_btn_lbl2 		= get_theme_mod('footer_above_btn_lbl2',__('Contact Us','clever-fox'));
		$boostify_footer_above_btn_url2 		= get_theme_mod('footer_above_btn_url2','#');
		if($boostify_hs_above_footer == '1'):
	?>
		<div id="action-bar">
			<div class="container">
				<div class="action-bar">
					<div class="row">
						<div class="col-lg-5 offset-lg-1 offset-0 text-center text-lg-left mb-3 mb-lg-0">
							<?php if(!empty($boostify_footer_above_ttl)): ?>
								<div class="bar-text">
									<p><?php echo wp_kses_post($boostify_footer_above_ttl); ?></p>
								</div>
							<?php endif; ?>
						</div>
						<div class="col-lg-5 text-lg-right text-center">
							<?php if(!empty($boostify_footer_above_btn_lbl1)): ?>
								<a href="<?php echo esc_url($boostify_footer_above_btn_url1); ?>" class="boxed-btn white-bg"><?php echo esc_html($boostify_footer_above_btn_lbl1); ?></a>
							<?php endif; ?>
							<?php echo esc_html($boostify_footer_above_btn_mdl_text); ?>
							
							<?php if(!empty($boostify_footer_above_btn_lbl2)): ?>
								<a href="<?php echo esc_url($boostify_footer_above_btn_url2); ?>" class="boxed-btn contact-btn"><?php echo esc_html($boostify_footer_above_btn_lbl2); ?></a>
							<?php endif; ?>
						</div>
					</div>                
				</div>
			</div>
		</div>  
	<?php endif;
} endif;
add_action('boostify_above_footer', 'boostify_above_footer');

