In your case if you want to
remind your visitors of who owns the content and resources then you can
surely use the simple script shared below which will dynamically insert your Blog Title, Blog link and current Year
in your blog to let everyone know of your Copyrights. After using this
XHTML + JavaScript, no matter how many years may pass by, your footer
credits will always show the current Copyrights Legal Date, thus
preventing you from manually updating the Date each year and Blog Title
each time you update the Site Title. If it is 2015 it will show © 2015 and in 2020 it will automatically get updated to © 2020.
Therefore this tutorial will help you Auto Insert Copyrights Legal Date
and Trademark in Blogger Footer Credits. Lets get started
Update Blogger footer Credits
1 Go To Blogger > Template > Backup your Template
2 Click Edit HTML
3 Search your Footer Credits code and replace the contents with this Simple code.
INPUT:
<a expr:href='data:blog.homepageUrl'><data:blog.title/>™ </a>© <script type='text/javascript'>document.write(new Date().getFullYear());</script>, All Rights Reserved.OUPUT:
My Blogger Tricks™ © 2015, All Rights Reserved.Things to note:
- data:blog.homepageUrl will be replaced with your Blog Homepage URL
- <data:blog.title/>™ will be replaced with your Homepage title i.e. Your Trademark
- The green highlighted script will be replaced with Current new Date of the year. getFullYear() returns the year in four digits. You can learn more about it at JavaScript Date Reference
- You can replace the bold black text with any custom message you may like
Your Footer will now be automatically updated each time you change your blogspot blog title or when the new year arrives!
0 comments:
Post a Comment