Category: JavaScript

JS Tricks

JS Tricks

If you cannot to use PHP code in footer you can use this simple JS code: Copyright © <span id=”year”>2021</span> BizDirect IT | <a href=”/privacy-policy”>Privacy Policy</a> <script> document.getElementById(“year”).innerHTML = new Date().getFullYear(); </script>