Auto update year copyright

gabrieleviola.it
192 Posts
gabrieleviola.it posted this 07 June 2024
Ask a Question

Hi all,

I just remember that many times users ask for this feature..I'm here to suggest and share a simple code I made for this.. Edit as you want guys.

Just add and edit as needed with HTML area and locate this in the footer:

<p>Copyright © Initial date or delete, edit this- <span id="year"></span>  Name - All rights reserved .</p>


    <script>
        document.getElementById('year').textContent = new Date().getFullYear();
    </script>
Hi all, I just remember that many times users ask for this feature..I'm here to suggest and share a simple code I made for this.. Edit as you want guys. Just add and edit as needed with HTML area and locate this in the footer: <p>Copyright © Initial date or delete, edit this- <span id="year"></span> Name - All rights reserved .</p> <script> document.getElementById('year').textContent = new Date().getFullYear(); </script>

Last edited 07 June 2024 by gabrieleviola.it

Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 07 June 2024

Gabriele,

We appreciate your help!

...................................................
Sincerely,
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Gabriele, We appreciate your help! ................................................... Sincerely, Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments