WordPress Themes: Creating the Footer
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: Custom Theme, WordPress Theme, tutorial
One Response to “WordPress Themes: Creating the Footer”
Leave a Reply
You must be logged in to post a comment.










February 3rd, 2007 at 7:07 pm
[…] navigation: Starting Your Custom Theme Creating the Loop Creating the Footer Creating the Sidebar Adding Comments Finishing Your CustomTheme […]