footer.php

Description: The default footer.

This template is included by:

Template Code

<hr />
<div id="footer">
	<!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way;
	it's our only promotion or advertising. -->
	<p>
		<?php bloginfo('name'); ?> is proudly powered by
		<a href="http://wordpress.org/">WordPress</a>
		<br /><a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
		and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
		<!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
	</p>
</div>

</div>

<!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ -->
<?php /* "Just what do you think you're doing Dave?" */ ?>

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

This template includes the following tags:

  • 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

<hr />
<div id="footer">
	<!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way;
	it's our only promotion or advertising. -->
	<p> [BLOG TITLE] is proudly powered by <a href="http://wordpress.org/">WordPress</a> <br />
		[RSS ENTRIES] and [RSS COMMENTS].
		<!-- [# OF QUERIES, TIME REQUIRED] -->
	</p>
</div>

</div>

<!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ -->

</body>
</html>

Related CSS Styles

/* Begin Typography & Colors */

body { font-size: 62.5%; /* Resets 1em to 10px */font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;background: #d5d6d7 url('images/kubrickbgcolor.jpg');
color: #333;
text-align: center;
}

#page {
background-color: white;
border: 1px solid #959596;
text-align: left;
}

#footer {
background: #eee url('images/kubrickfooter.jpg') no-repeat top;
border: none;
}

a, h2 a:hover, h3 a:hover {
color: #06c;
text-decoration: none;
}

/* Begin Structure */

body {
margin: 0 0 20px 0;
padding: 0;
}

#page {
background-color: white;
margin: 20px auto;
padding: 0;
width: 760px;
border: 1px solid #959596;
}

#footer {
padding: 0;
margin: 0 auto;
width: 760px;
clear: both;
}

#footer p {
margin: 0;
padding: 20px 0;
text-align: center;
}

Resources

  • N/A