Web Savvy Mama Blog: What do you want to learn today?
Follow WebSavvyMama on Twitter Do you have a topic you'd like to see covered? Feel free to drop me a note. Please make sure to mention that it's blog related in the message. If I pick your topic I'll include a link back to your website!

WordPress Themes: Creating the Footer

Posted: January 21, 2007 | by Kristine | Filed under: WordPress Tutorials

Tutorial navigation:
Starting Your Custom Theme
Creating the Loop
Creating the Footer
Creating the Sidebar
Adding Comments
Finishing Your Custom Theme

This is part of the WordPress Themes tutorial.
Now that your header is finished you’ll want to close your page with the footer. Open the footer.php file. The footer runs along the very bottom of your blog and holds any copyright information. You can be creative in this area too! Add a div and format it if you want to have it span the bottom or to give it a specific style. You can add another list of your pages here if you like, contact information or anything that you think fits your blog. After you have added any footer information you’d like to appear you need to close out any divs you opened at the beginning that were wrapping your page. (table and cell tags if that’s what you are using).

A couple tags you may want to include in your footer are:

<?php echo date("Y")." "; bloginfo(‘name’); ?>

The above tag puts in the name of your blog with the year in front of it. Good for automatically including your blog information in the copyright.

<?php wp_loginout(); ?>

The above tag is the login and log out feature. You can log in to make changes and your readers can login to leave comments.

Then add this tag followed by the body tag:

<?php do_action(‘wp_footer’); ?> </body>

Save your footer.php file and continue to WordPress Themes: Creating the Loop

Technorati Tags: , ,


1 Comment »

[...] navigation: Starting Your Custom Theme Creating the Loop Creating the Footer Creating the Sidebar Adding Comments Finishing Your CustomTheme [...]

Pingback by Web Savvy Mama » WordPress Themes: Starting Your Custom Theme — February 3, 2007 @ 7:07 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment,
or you may log in using Facebook connect.