Display Current Year - Footer & Copyright - Velo (Wix)
Quick Code Snippet
$w.onReady(function () {
// Footer Copyright Date - Velo masterPage,js Template by Great Lakes Multimedia //
const year = new Date().getFullYear();
$w('#footerCopyright').text = `© ${year} Your Company \nProudly created with Wix.com`;
});
Display Current Year:
const year = new Date().getFullYear();
Where do you want it to show:
Your Wix Footer
ID #footerCopyright
-Assign the ID in the Dev Mode - Properties & Events Tab (Lower Right Hand Corner)
Where to put it:
masterPage.js
Use Cases:
Copyright (Current Year)
$w.onReady(function () {
// Footer Copyright Date - Velo masterPage,js Template by Great Lakes Multimedia //
const year = new Date().getFullYear();
$w('#footerCopyright').text = `© ${year} Your Company \nProudly created with Wix.com`;
});
Copyright (Year Established) - (Current Year)
$w.onReady(function () {
// Footer Copyright Date - Velo masterPage,js Template by Great Lakes Multimedia //
const year = new Date().getFullYear();
$w('#footerCopyright').text = `© Year Established - ${year} Your Company \nProudly created with Wix.com`;
});
Follow for Updates or email me info@greatlakesmultimedia.com
Keywords
How to AUTOMATICALLY Update Your Copyright Year
Add a Dynamic Copyright Date
JavaScript in any Footer
Velo Wix Footer