footer.php

  • Displays the footer content of your site (like copyright info).
  • Executes wp_footer(), a WordPress function that allows plugins and themes to inject JavaScript, styles.

Example Code:

<footer>
  <p>© <?php echo date('Y'); ?> <?php bloginfo('name'); ?></p>
</footer>

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