Viewing Automatically update Copyright Year across multiple sites

Automatically update Copyright Year across multiple sites



User: Lacey B. 5 years ago
How do I automatically update the copyright year across multiple sites instead of having to do manually on each site and then manually republish each site?

I'm looking for a solution where I can update the copyright year in one place, one time and it will update it on all of my web sites.

I'm primarily looking for a quicker way to implement this change each year.

Thank you.
User: Ana F. 5 years ago
Maybe if you add it to MasterPage?
User: Lacey B. 5 years ago
Yes. I do have the copyright year on the MasterPage within each of my projects. This does help me to automatically update it on all pages within one project/domain/website. What I'm looking for is a way to update it across multiple projects/domains/websites with one change. Without having to open each project individually.
User: Roddy 5 years ago
The easiest way would be to use a widget like Elements Sticky Footer

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Ana F. 5 years ago
you can change the Copyright code in the html... try this:
Locate your copyright code and change the <script type="text/java script">
document.write(y0);</script> to

<script type="text/java script">
document.write(new Date().getFullYear());
</script>

maybe that helps

check out this site: https://blog.templatetoaster.com/auto-update-copyright-year/

it says:
Server-Side Scripting: You can add a PHP, java script, ASP or Perl script to the server hosting the website. The scripts auto update the copyright date before loading the page.

Last edit 5 years ago


Post Reply
You must login or signup to post.