wp-content » themes » functions.php » Automatic Copyright year in WordPress footer

Automatic Copyright year in WordPress footer

This is a simple solution to automatically change the copyright year in the WordPress footer, using the date(). php function and specifying just Y will display the current year.

<?php echo date("Y"); ?>

I use it on this site:

image 16 - Automatic Copyright year in WordPress footer

Was this post helpful?

Leave a Comment

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.

Recommended