Automatic updated year copyright in the footer

Philip is freelancer

If you feel the content is useful. Thank for me with a coffee 😊

May 10, 2022 01:58 pm

Add an Embed element to your footer with the code on the right. Just modify your infos and the styling

Add code css

<style> div {font-family:barlow semi condensed; text-align: center; color:#ee756b} </style>

<a href="https://kent1media.com">Kent1Media</a> ©

<span id="footer-year"></span>

<img src="/error_source.jpg" style="display: none;" onerror="document.getElementById('footer-year').textContent = new Date().getFullYear();">


If you feel the content is useful. Thank for me with a coffee 😊