There was a problem loading the comments.

Make copyright link in the footer.

Support Portal  »  Knowledgebase  »  Viewing Article


Have you ever visited those site that seem old because when you get to the footer it has a year that was two or three years ago. Here is a sure fire way to fix that on your wordpress site so that it will not happen to you.

Place this code in your theme’s functions.php file to address that pesky problem of copyright dates in the footer not having the current year displayed!!

/* shortcode for the current year */
function year_shortcode() {
	$year = date('Y');
	return $year;
add_shortcode('year', 'year_shortcode');

So your copyright date in your theme’s footer might look something like this…

Copyright © [year] My company brand

Copyright © 2019 My company brand

Share via
Did you find this article useful?  

Related Articles


Add Comment

Replying to  


Self-Hosted Help Desk Software by SupportPal
© Company Support