Hello
I would like to display the following footer copyright text:
© 2025 My Business
I don't wanna use the one in the pop-up from the footer navigation.
So I tried: <?php echo date("Y"); ?>
Like this:
© <?php echo date("Y"); ?> My Business
But it didn't work.
Any idea?
Thanks
Hello @OneEagle !
You may use the Javsascript there:
<script>
new Date().getFullYear();
</script>
Hi dear @LeonidS
Thank you for your help. I have tried the code but it didn't work. You forgot to add:
document.write
So I have added it like this and it worked:
<script>document.write(new Date().getFullYear());</script>
I guess, you already had the palce to insert this value :-) Anyway, it nice that it has been resolved.
Hello @OneEagle !
You may use the Javsascript there:
<script>
new Date().getFullYear();
</script>
Hi dear @LeonidS
Thank you for your help. I have tried the code but it didn't work. You forgot to add:
document.write
So I have added it like this and it worked:
<script>document.write(new Date().getFullYear());</script>
Thanks
I guess, you already had the palce to insert this value :-) Anyway, it nice that it has been resolved.