How To Create A WordPress Copyright Footer Message

by

This is a very simple method on how you can generate a Dynamic copyright notice on your wordpress footer which will update each year without manually changing it…

To edit the text in your footer you will have to locate the footer.php file inside your template directory normally located inside:

/wp-content/themes/YourThemeNamefolder/

You can use the build-in editing feature located in the admin area -

Appearance->Editor->Select Theme->footer.php

edit-footer

You will notice the copyright notice in the footer text of this website,

The following code will produce the below.

Copyright ©
<?php $the_year = date("Y"); echo $the_year; ?>
<?php bloginfo('url'); ?>
All Rights Reserved.

Copyright © 2009 Martin Gardner.co.uk. All Rights Reserved.

OR Include a link back to your site

Copyright &copy; <?php $the_year = date("Y"); echo $the_year; ?>
<a href="<?php bloginfo('url');?>"><?php bloginfo('url'); ?></a> All Rights Reserved.

Copyright © 2009 Martin Gardner.co.uk. All Rights Reserved.

copy the code and paste it into your theme,

like i said “nice and simple”…

Advertisement

10 Responses to “How To Create A WordPress Copyright Footer Message”

  1. Jack Osborne says:

    Very handy, cheers mate.

  2. [...] you want to add your own? It usually goes in the footer. Here's instructions on how to add one: http://www.martin-gardner.co.uk/ho…-footer-message/ WordPress is open source in case you didn't know. You can modify the source code as you wish to [...]

  3. cuttlewoman says:

    I am very grateful to you for this straightforward explanation as I am
    head-dick when it comes to matters technical.

    Thankyou!

  4. cuttlewoman says:

    I think wordpress has changed things so that the user has to pay $14.97 a year for an upgrade that allows them to change the CSS. Anyway, I had fun working it all out!

  5. Mint says:

    Thanks you for the code. It solved my problem of updating copyright date every year.

  6. Melanie says:

    Thank you so much, Marty. I knew it would be simple to do this, and it is … when you know how! Appreciate you sharing this tidbit. Cheers

  7. [...] can you add a similar notice to your own blog? If you want the notice to appear on your theme’s footer, you can put something similar to [...]

  8. Susan says:

    Thank you!

  9. thanhsa says:

    good nice post

  10. Pieter says:

    Hi,

    Instead of this:

    $the_year = date(“Y”); echo $the_year;

    You can easily just do this:

    the_time(‘Y’);

Leave a Reply

Advertisement

Tracker by Hobo-Web