Do you want to automatically update the date on your copyright text in WordPress footer? This snippet is set to automatically update the date, using the the_date()
function.
Instructions:
Just copy the snippet in to your footer.php
.
<b>(c) <?php echo date('Y'); ?></b> | <a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a> | <?php bloginfo('description'); ?>
If you liked this code snippet, please consider checking out our other articles on the site like: Best WordPress Page Builders (Compared).
Comments Leave a Reply