Sunday, June 22, 2008

WP Theme Lesson #7: Footer

By Sofhal Jamil   Posted at  5:53 AM   No comments

This lesson on the footer is simple. You’re going to add a DIV or invisible box under the Sidebar DIV and fill in some copyright text for the footer. Think you can do that without my instructions? Go ahead a try it. Come back to this lesson to double check.


Step 1: Add the DIV


Type the following codes under the Sidebar DIV:


<div id=”footer”>


</div>


add-footer.gif


Step 2: Add footer text within paragraph tags. For this, say anything you want. Here’s my message:


<p>
Copyright &#169; 2007 <?php bloginfo(’name’); ?>
</p>


add-footer-text.gif


Save notepad and refresh browser. Here’s the result:


footer.gif


If you didn’t use the footer text above, &#169; is the code for displaying the copyright sign. Also, remember the bloginfo() function that you used when putting the header together? I used it again for the footer. ‘name‘ calls for the blog’s title and ‘url‘ calls for the blog’s address.


If you want the blog’s title to be a link, check the header to remember how you did it.

About the Author

Nulla sagittis convallis arcu. Sed sed nunc. Curabitur consequat. Quisque metus enim, venenatis fermentum, mollis in, porta et, nibh. Duis vulputate elit in elit. Mauris dictum libero id justo.
View all posts by: BT9

0 comments:

Back to top ↑
Connect with Us

What they says

© 2013 Dongeng Sebelum Tidur. Distributed By Blogger Themes | WP Mythemeshop Converted by Bloggertheme9
Blogger templates. Proudly Powered by Blogger.