How to Add a Dynamic Squarespace Copyright Footer Year
Have you ever seen the year at the bottom of a website? This is commonly known as a copyright notice or a copyright footer.
Let’s look at how to add a dynamic Squarespace copyright footer to your own site. This means the date automatically updates every year and you don’t need to remember to change it.
How to add a dynamic Squarespace copyright footer year in 3 steps
Join me as I show you how to add a dynamic Squarespace copyright footer to your website, which automatically stays up to date as the years go by.
It only takes three minutes!
Step 1: Access your footer
The first step is to access your website’s footer. While you don’t have to add a copyright notice to your footer, it’s the best place to put one as it’s less intrusive.
Plus, if you add a copyright notice to your footer, you only have to add it once across your entire site.
Go to any page on your website and click the EDIT button at the top of the page. Scroll right down to the bottom and hover over the footer. Click the edit site footer button.
Step 2: Determine where you want to place your copyright notice
The next step is to decide where you want to add your notice. I recommend adding a new section at the bottom of your footer and putting your Squarespace copyright footer there, like on the Spark Plugin site.
This means it’s out of the way, and you don’t have to move your other links around to accommodate it.
Choose your section and click Add block. Choose the Code block.
Step 3: Add your code
We’re going to add a piece of custom code to this block. Grab the following code and replace “Your Company Name” with your business name:
<div id="copyright">Copyright © <span id="year"></span> Your Company Name. All rights reserved.</div> <script> document.getElementById('year').textContent = new Date().getFullYear(); </script>
Paste the code into the code block – make sure you’re in HTML mode and Display Source Code is toggled off.
Don’t worry if you can’t see the dynamic footer right away – Squarespace turns off embedded scripts by default while you’re editing your site. You can preview it in safe mode, or take a look once you save and exit your page.
Click out of your code block, Save and Exit your footer, and check your brand-new copyright notice to make sure it looks right.
And that’s it, you’re all done. Enjoy your Squarespace copyright footer!
The benefits of a Squarespace Copyright footer
A Squarespace copyright footer has lots of advantages. It:
Informs visitors that your content is protected, deterring them from stealing your copy and images. If someone does copy your content, you can use your copyright footer to prove the content is yours
Looks professional and shows visitors that you’re a reliable and credible source of information
Shows that your website is up-to-date and accurate, which can give you a small boost in the search engine results
Want more expert tips to make your Squarespace site stand out from the rest? Check out the Spark Plugin Designer Blog!