- Edit the footer template part
- Insert a “Custom HTML” block
- Enter the following
Copyright © <script>document.write(new Date().getFullYear());</script> Your Site Name
Code language: HTML, XML (xml)
The above code uses JavaScript to keep the current year up-to-date.