[WordPress] Get current year dynamically
Problem:
How to retrieve the current year in PHP instead of using a hardcoded one.
Solution:
How to retrieve the current year in PHP instead of using a hardcoded one.
Solution:
<div id="footer"> <div class="container"> <p class="muted credit">© <?php echo(Date("Y")); ?> mycompany</p> </div> </div>
Comments
Post a Comment