Automatically Update Copyright Year in WIX

:triangular_flag_on_post:MORE TUTORIALS https://www.wixideas.com/tutorials

:tv:Please Subscribe, Like, & Share :point_right:t4::point_right:t4: YouTube

This tutorial will show you how to automatically or dynamically update your copyright year using velo by WIX.

Code

$w.onReady(() => {

 let currentYear = new Date().getFullYear();

//BUTTON ELEMENT
$w("#copyrightButton").label = `(c) 2021 - ${currentYear}. BUSINESS NAME.`;

//TEXT ELEMENT
$w("#copyrightText").text = `(c) 2021 - ${currentYear}. BUSINESS NAME.`;

});

:tv:Please Subscribe, Like, & Share :point_right:t4::point_right:t4: YouTube

#copyrightyear #autoupdatecopyrightyear #dynamiccopyrightyear

Facebook Page: WIX Ideas
Facebook Community Group: Wix Ideas Community | Facebook
Instagram: Wix Ideas (@wixideas) โ€ข Instagram photos and videos
Website: https://www.wixideas.com/
YouTube Channel: https://www.youtube.com/@wixideas

2 Likes