How to display the current year on the footer?
Hi there,
Could you help on how to display the current year on the footer?
I was using the following script to display the current year on the footer but recently stopped working and the footer just brings back the script as it is.
<script>document.write( new Date().getFullYear() );</script>

0
-
Hi,
Thank you for your message.
- What element do you use to add this code?
- Are you using Yoast SEO on your website?
Kind regards,
Denis.0 -
Hi there,
I use a text block to add the code and I use Yoast SEO also.
Looking forward to hearing from you!
Phil
0 -
Hi,
Thank you for your reply.
Unfortunately, in "Text" element HTML tags are not supported anymore. This was done for several reasons. Please, use "Embed" element for these purposes.
Sorry for this inconvenience and thank you for understanding.
Best regards,
Denis.0
Please sign in to leave a comment.
Comments
3 comments