    <footer id="footer">
    
    	<?php
		
			get_sidebar('bottom');
			get_sidebar('footer');
		
		?>
        
        <div class="container">
    
             <div class="row copyright" >
                
                <div class="col-md-12" >

                    <?php do_action( 'haley_socials' ); ?>

                    <p>

                    	<?php 
						
							if ( haley_setting('haley_copyright_text')) :
							
								echo wp_filter_post_kses(haley_setting('haley_copyright_text'));
								
							else:
							
								esc_html_e('Copyright ', 'haley');
								echo esc_html(get_bloginfo('name'));
								echo esc_html( date_i18n( __( ' Y', 'haley' )));
							
							endif;

							echo ' | <a href="' . esc_url('https://www.themeinprogress.com/') . '" target="_blank">' . sprintf(esc_html__('Theme by %s', 'haley'), 'ThemeinProgress') . '</a>';
							echo ' | <a href="' . esc_url('http://wordpress.org/') . '" title="' . esc_attr__('A Semantic Personal Publishing Platform', 'haley') . '" rel="generator">' . sprintf(esc_html__('Proudly powered by %s', 'haley'), 'WordPress') . '</a>';

                    	?>

                    </p>

                </div>
            
            </div>
            
        </div>
    
    </footer>

</div>

<?php 

	if ( haley_setting('haley_enable_backtotop_button', true) == true )
		echo '<div id="back-to-top"><span class="dashicons dashicons-arrow-up-alt"></span></div>';

	wp_footer(); 
	
?>   

</body>

</html>