Automatically update year in your footers | Adobe Higher Education
Skip to main content
Level 2
November 29, 2021
Répondu

Automatically update year in your footers

Thinking ahead to next year and updating the copyright and year automatically in all my templates so that I will not have to do it next year and beyond - I found this works great:

 

<div>
<span style="font-size: 11px;">&copy; <script>document.write(new Date().getFullYear())</script><span style="color: #000000;">&nbsp;<a href="http://www.editme.com" target="_blank" id="" style="color: #000000;">Your Company Name</a></span> | Street | City, State  Postal Code | (000) 000-0000</span>
</div>

 

This may not work in your email footer but it does in landing pages.

Hope this helps!

Ce sujet a été fermé aux réponses.
Meilleure réponse par SanfordWhiteman

Hi @triciam11,

 

You should use the code in the blog post: 

The definitive guide to setting up copyright year {{my.tokens}} for Emails and LPs

 

It follows better coding practices and has both LP and Email variations.

1 commentaire

SanfordWhiteman
Level 10
November 29, 2021

Hi @triciam11,

 

You should use the code in the blog post: 

The definitive guide to setting up copyright year {{my.tokens}} for Emails and LPs

 

It follows better coding practices and has both LP and Email variations.