Dynamic Copyright Year

  • 22 February 2019
  • 2 replies
  • 81 views

Hi!

I would like the Copyright year (© 2019) to update automatically, so I dont have to manually update every footer every year. Seems Unbounce does not have this natively. Can anyone helpout?


2 replies

Userlevel 7
Badge +4

Funny, I was literally thinking about this recently.

This should pull the year from the user’s browser settings.

Paste this into an HTML block on your landing page.

<script type="text/javascript">
  document.write(new Date().getFullYear());
</script>

Hi Stefano.

How to do it if I have to display the year in a certain font and size?

Reply