<?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 Covfefe
 */

?>	
	<?php get_template_part( 'wrapper-end' ); ?>
	</div>
	<footer id="colophon" class="site-footer">
		<?php covfefe_footer_widgets(); ?>
		
		<div class="covf-footer-copyright">
			<div class="container">
				<div class="row">
					<div class="col">
						<div class="site-info text-center">
							<?php 
								$footer_copyright = get_theme_mod( 'footer_copyright','' );
								if ($footer_copyright != '') {
									echo wp_kses_post( $footer_copyright );
								} else {
									echo esc_html__( 'Powered by ' , 'covfefe' );
							?>
									<a href="<?php echo esc_url( __( 'http://wpamanuke.com/covfefe-wordpress-theme/', 'covfefe' ) ); ?>">
										<?php
										/* translators: %s: CMS name, i.e. WordPress. */
										echo esc_html__( 'Covfefe WordPress Theme','covfefe' );
										?>
									</a>
							<?php
								}
							?>
						</div>
					</div>
				</div>
			</div>
		</div>
	</footer><!-- #colophon -->
</div><!-- #page -->

<?php wp_footer(); ?>

</body>
</html>
