What goes in the footer of my WordPress sites

Regularly when setting up a new site, I change the footer information.  I have to look up in my files every time exactly what I like it to say and how it works.

I’m posting it here for myself and for any of you who also wonder about this.

I generally forget to go change the copyright dates on all my client sites, so including this little bit of php in the footer will keep all those dates accurate.

<p style="text-align:left">Copyright 2008 - <?php echo date('Y'); ?>, by whoever-this-should-be. All Rights Reserved.  <br />
Site designed and managed by <a href="http://www.yourwebsitehere.com">your-name-here</a></p>

I use my own name as the designer/manager because I find that people might not like the bottom of the page implying that they have or had a broken website.

Sometimes I also add a link to the site admin because it helps clients who can’t remember how to get into the admin panel.

I’ve found that adding the following right before the </p> tag, I get a nifty link to the site admin page.

<a href="<?php $url = admin_url();
echo admin_url(); ?>">Site Admin</a>

Author: Kerch McConlogue

Harrisburg, PA: A WordPress front end web developer who speaks plain-English to nonGeeks

Leave a Reply

Your email address will not be published. Required fields are marked *