<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Cleanead
 */

?>
		</div><!-- .container -->
	</div><!-- #content -->

	<footer id="colophon" class="site-footer" role="contentinfo">
		<?php get_sidebar('footer'); ?>
		<div class="site-info">
			<div class="container">
			<?php
				$copyright = esc_html ( get_theme_mod( 'cleanead_general_copyright' ) );

				if ( $copyright != '' ) {
					echo $copyright;
				} else {
			?>
				<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'cleanead' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'cleanead' ), 'WordPress' ); ?></a>
				<span class="sep"> | </span>
				<?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'cleanead' ), 'cleanead', '<a href="https://themecountry.com" rel="designer">ThemeCountry Team</a>' ); ?>
			<?php } ?>
			</div><!-- .container -->
		</div><!-- .site-info -->
	</footer><!-- #colophon -->
</div><!-- #page -->

<?php wp_footer(); ?>

</body>
</html>
