Hey Webflow Developers / Admins, Have you updated the year in your Webflow footer yet? 🧐 Here is...Hey Webflow Developers / Admins, Have you updated the year in your Webflow footer yet? 🧐 Here is...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Hey Webflow Developers / Admins, Have you updated the year in your Webflow footer yet? 🧐
Here is a simple code to automate it for good:
<!-- Footer year -->
<script>
document.addEventListener("DOMContentLoaded", function() { 
 const yrSpan = document.querySelector('.hack14-year');
 const currentYr = new Date().getFullYear();
 yrSpan.textContent = currentYr;
});
</script>
-> Place the script in your Custom Code Footer area. And make sure to replace the class with your own.
Or you can use the awesome library VisualDX by Ailín J. Tobin here:
You can now forget about this task. 🤝
Follow me for more #Webflow hacks and tips.
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started