<?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  News Axis
 */
$news_axis_footer_credit = get_theme_mod('news_axis_footer_credit');
?>

<footer id="colophon" class="site-footer pt-3 pb-3">
	<div class="footer-cradit site-info text-center">
		&copy;
		<?php if (empty($news_axis_footer_credit)): ?>
			<?php echo get_bloginfo('name') .  esc_html__(' All rights reserved ', 'news-axis') . ' - ' . date('Y'); ?>
		<?php else: ?>
			<?php echo esc_html($news_axis_footer_credit); ?>
		<?php endif; ?>
	</div>
</footer><!-- #colophon -->
</div><!-- #page -->

<?php wp_footer(); ?>

</body>

</html>