Skip to content

No-code2 min read

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

Gemeos Loading...
MethodEffortMaintenance
JS script (this tutorial)1 minuteZero, automatic
Manual update every year5 min/yearRisk of forgetting
CMS variableHighPublishing required

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

document.addEventListener('DOMContentLoaded', function() {
  var el = document.getElementById('copyright-year');
  if (el) el.textContent = '© ' + new Date().getFullYear() + ' Gemeos. All rights reserved.';
});

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:

// In your text: "© 2024 Gemeos"
var cy = document.getElementById('cy');
if (cy) cy.textContent = new Date().getFullYear();

Conclusion

2 minutes of setup, and you’ll never have to update the year manually again.

Published on May 19, 2026

Sandro DA SILVA

Growth Marketer, Webflow expert, and jack-of-all-trades. Sandro handles commercial operations, ensures projects run smoothly, and addresses marketing-related issues (SEO, Tracking, Copywriting, etc).

You might be interested in these tutorials

Related tutorials

See all

You're going to working with us, guaranteed

Ready to launch your business?

get a quote

Let’s f*****G GO !!