Footer

In WordPress, the footer file is a PHP file that is included in the template files for a theme. The footer file typically contains the closing HTML tags and other elements that appear at the bottom of every page on a WordPress site, such as the copyright information, social media links, and a back-to-top button.

The footer file is an important part of a WordPress theme, as it helps to establish the overall look and feel of the site and provides users with a consistent visual experience as they navigate through different pages.

Here is an example of a simple footer file in WordPress:

phpCopy code<footer>
	<div class="site-info">
		<p>&copy; <?php echo date('Y'); ?> <?php bloginfo('name'); ?>. All rights reserved.</p>
		<p>Powered by <a href="https://wordpress.org/">WordPress</a>.</p>
	</div>
	<div class="social-links">
		<ul>
			<li><a href="#"><i class="fab fa-facebook"></i></a></li>
			<li><a href="#"><i class="fab fa-twitter"></i></a></li>
			<li><a href="#"><i class="fab fa-instagram"></i></a></li>
			<li><a href="#"><i class="fab fa-pinterest"></i></a></li>
		</ul>
	</div>
	<a href="#" class="back-to-top"><i class="fas fa-chevron-up"></i></a>
</footer>

<?php wp_footer(); ?>
</body>
</html>