All Rights Reserved © by YourWebsiteHere
Auto updating year
javascript
Designed for the footer of any website, this code will automatically update to the current year.
How this works
This is a Javascript code that can be used on any site with a Business or Commerce subscription plan.
This code will display the current year between two segments of text that can be adjusted.
Pro tip: This code is designed to match the paragraph style of text on your site. You can change <p> to any heading text type, from <h1> to <h4>
How to use this code
This code is designed to work on every page of your site. Copy this code using the copy button on the right. It’s recommended that you add it to your website footer as a code block.
<center><p> All Rights Reserved © <script>document.write(new Date().getFullYear())</script> by YourWebsiteHere </p></center>