How to Make Your Own Theme – PART 6

Step Six: Finishing up with the Footer

Alrighty! We’re almost there! Let’s get started on the footer.

  1. First, let’s take a look at our “default” footer:

    <hr /> < div id=”footer”> < !– If you’d like to support WordPress, having the “powered by” link someone 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>

  2. Next, let’s take a look at our modifications:

    <br id=”clear” />

    <div id=”footer”> < p>You’re welcome to share what you find here with whomever you’d like in whatever way you’d like to. If you have questions, comments, or suggestions, <a href=”http://tjmarsh.com/contact”>contact me</a> :).</p> < /div>

    </div> <!– Main Container Ends –>

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

    Note: Even if you didn’t notice, I’d like to be sure to point out that I’ve removed the WordPress link from my footer. While it won’t be at the bottom of this particular theme, unintended for public distribution, I want to be clear that I am in no way withdrawing my support of WordPress : ). There will be a link in my list of recommended sites and I will continue to show my support through open source theme and plugin releases, tutorials, and my continuous recommendations to those I come in contact with.
        In working on your theme, if you don’t have another way of showing support for the excellent work the WordPress team has done, I recommend leaving the link in place : ).

Looking for quality WordPress Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , | Posted under WordPress | RSS 2.0

Author Spotlight

TJ Marsh

TJ Marsh

My name is Tj Marsh. I spend about 16 hours a day on the internet. Running my company and helping out here at Arvixe. I live in the good ole Arizona where it gets ridiculously hot. I love WordPress and a lot of other open source software along with coding.

Comments are closed.