Elemental
Code Collection
Automatically Update Your Footer Date

Automatically Update Your Footer Date

You don’t need to manually update the year in your footer anymore. Simply copy and paste our year component into Webflow, press publish, and you’re set. Adjust the design and everything else however you like.

Option 1 (Webflow): Copy and Paste in One Click

This component includes "© 0000 Flowing.to. All rights reserved." text and the code needed to change the "0000" to the current year. You can customize the text entirely, but make sure the "0000" is wrapped in a span with the attribute [a-data-flow-auto-date= ]. You can find this in the settings tab.

[c-yearupdate]

---

Option 2 (Code): Do it custom

First, you need a simple html element with the attribute [a-data-flow-auto-date= ]

<div>© <span data-flow-auto-date="">2025</span> Flwoing.to. All rights reserved.</div>

Then you need a few lines of js to make it work. Simply copy paste this in the body

<script>
 // Flowing components - By Kabarza.com

 document.addEventListener('DOMContentLoaded', () => {
 // Find elements with the [data-flw-year] attribute
 const yearTargets = document.querySelectorAll('[data-flow-auto-date]');

 // Get the current year
 const currentYear = new Date().getFullYear();

 // Update text content for each target element
 yearTargets.forEach(target => {
 if (target) {
 target.textContent = currentYear;
 }
 });
 });
</script>

That's it. You are done.

Related Components:

blur

No items found.

aykut

ay

CSS
HTML
JS
GSAP
Resource Details:
Fast Access:
Menu
[[Profile embed]]