footer.php

Description: The default footer.

This template includes the following templates:

  • N/A.

Template Code

	<div id="footer">
		<span id="generator-link"><a href="http://wordpress.org/" title="<?php _e('WordPress', 'sandbox'); ?>" rel="generator"><?php _e('WordPress', 'sandbox'); ?></a></span>
		<span class="meta-sep">|</span>
		<span id="theme-link"><a href="http://www.plaintxt.org/themes/sandbox/" title="<?php _e('Sandbox for WordPress', 'sandbox'); ?>" rel="designer"><?php _e('Sandbox', 'sandbox'); ?></a></span>
	</div><!-- #footer -->

</div><!-- #wrapper .hfeed -->

<?php wp_footer() ?>

</body>
</html>

This template includes the following tags:

  • _e() is a WordPress function used to mark a string for translation to another language. It is similar to __(), except that __() returns the string while _e() echoes it.
  • bloginfo() is a WordPress function that displays information about your blog. Using various parameters, the function can display the following strings:
    • Blog title;
    • Blog tagline;
    • Administrator's email address;
    • Document content-type;
    • Document charset;
    • WordPress version;
    • Blog URL;
    • Pingback URL;
    • URL of the RSS 0.92, RSS 1.0, RSS 2.0, or Atom feed;
    • URL of the comments feed;
    • URL of the directory in which WordPress is installed;
    • URL of the current template's directory;
    • URL of the current style.css file;
    • URL of the stylesheet directory (deprecated)
  • wp_footer() is an Action Hook necessary for the functioning of some plugins.

HTML Skeleton

	<div id="footer">
		<span id="generator-link"><a rel="generator">WordPress</a></span>
		<span class="meta-sep">|</span>
		<span id="theme-link"><a rel="designer">Sandbox</a></span>
	</div>
	<!-- #footer -->

</div>

<!-- #wrapper .hfeed -->
</body>
</html>

Related CSS Styles

Resources

  • N/A