First you have to remove Blogger powered by widget, and to do that follow this steps.
Steps - https://howblogstuffworks.blogspot.com/2021/10/how-to-hide-remove-powered-by-blogger.html
Once you are done removing the widget
Go to your Layout > Add a Gadget > HTML/JavaScript
And copy paste this following code.
Replace the |YOUR BLOG NAME| with your blog name.
Steps - https://howblogstuffworks.blogspot.com/2021/10/how-to-hide-remove-powered-by-blogger.html
Once you are done removing the widget
Go to your Layout > Add a Gadget > HTML/JavaScript
And copy paste this following code.
Replace the |YOUR BLOG NAME| with your blog name.
<div style="text-align: center; font-family: sans-serif;">Copyright © <script> var CurrentYear = new Date().getFullYear() document.write(CurrentYear) </script> |YOUR BLOG NAME|, All Rights Reserved. </div>
Save and drag the HTML widget down next to footer & you are done.
So, what is happening in this code?
We are using javascript to get the latest year and printing your blog name along with current year. So it will look as if your blog is updated. And you don't have to change the year in-case you forget to update.
Even I have done the same as you can see down below.
Enjoy.
Comments
Post a Comment