Let’s say the current year and copyright are manually specified in the template of the site:
1 | < p >Copyright © 2013-2020</ p > |
And in order not to edit and indicate the current year manually each year, you can automatically get it using PHP code:
1 | <?php echo date ( 'Y' ); ?> |
That is, it should turn out:
1 | <p>Copyright © 2013-<?php echo date ( 'Y' ); ?></p> |