How to Automatically Add the Year to Your Webflow Copyright
Learn how to automatically update the year in your Webflow footer copyright with JavaScript.
In this tutorial, Sandro, co-founder of Gemeos Webflow agency, shows you how to automatically update the year in your Webflow footer copyright.
Example
1. Add an ID to your copyright text
In the Designer, select your copyright Text Block. Add a custom attribute: Name = id, Value = copyright-year. Leave the text with a static year so it renders properly in the Designer.
2. The script
Variation: inject only the year into the text
If your copyright text is partly fixed and only the year needs to change, use a span with a dedicated ID:
Conclusion
2 minutes of setup, and you’ll never have to update the year manually again.
Lorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.















