Automatic Footer Year

This functionality not only ensures that the displayed year remains current, but it also saves time for website owners who would otherwise have to remember to make these updates annually.


1. Copy and paste the code below into a Code or Embed Block within your Footer area.

<div style="text-align:center;">

&copy;

<span id="copyright">

<script>document.getElementById('copyright').appendChild(document.createTextNode(new Date().getFullYear()))</script>

</span>

Company Name

</div>

2. Change the ‘Company Name’ text with your company’s name.

If you found this element to be super useful, give us a follow on LinkedIn or a review on Trustpilot.

Trustscore 3.7
1 Review

Next
Next

Product Accordion