February 20, 2026 | By: PhotoBiz Knowledge Base
Instead of manually updating your copyright year every January, you can add a small piece of HTML and JavaScript that automatically displays the current year.
This method uses an HTML Block in your website footer. Once added, the year will update automatically based on the visitor’s browser date.
In this guide, you will learn how to add an HTML Block to your footer and insert code that dynamically displays the current year. After setup, you will not need to update your copyright year again.
This works on all PhotoBiz websites that support the HTML Block.
Log into your PhotoBiz account and click WEBSITE in the left-side menu.
This opens your Website Builder.
Click FOOTER at the bottom of your list of webpages.
Add an HTML Block.
You can add the HTML Block in one of two ways.
Click the HTML icon on the right-hand side of the builder. The block will automatically appear at the bottom of your footer.
Or click and hold the HTML icon, drag it to your preferred location, and release your mouse when you see the teal placement line.
The HTML Block allows you to insert custom HTML, CSS, or JavaScript into your website.
Click inside the HTML Block and paste the following code:
Replace Your Company Name with your actual business name.
Click SAVE CHANGES to apply the update.
Your footer will now automatically display the current year. Each January, it will update without any manual changes.