Snippet: Dynamic copyright text

Add following snippet to “footer.php” or where ever you want to print your copyright text

Snippet

<b>&copy; <?php echo date('Y'); ?></b>, All Rights Reserved | <a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a>

Result

You do not need to update the copyright year every year.

 

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>