Because lately more and more SEO pleople sustain how important is the Copyright and the year at the bottom of the page, here is a simple way to generate the year automatically in order to not need to change it manually each year.
Add the following code to the functions.php file:
function year_shortcode() { $year = date('Y'); return $year; } add_shortcode('year', 'year_shortcode');
Use [year] in your posts.
Leave a Reply