Tuesday, November 8, 2016

A simple tweak that I did for worry-free every year...



Well, the other day I was doing a quick audit on my website and I found something I want to do long time ago.

It’s not really a big deal. But not doing it worries me. So I decided to take a quick search and found the solution for it.

If you’ve been building websites, then you must know this small tweak. Which is in your footer note of your company’s copyright year to-date.

So what can be done so that every year I don’t need to worry about changing the copyright note and always up-to-date?

Here’s what I did.

I’ve put in below HTML/JavaScript note so that it will display exactly like I wanted it to be.


<p style="text-align: center;">Copyright &copy; 2015

<script>new Date().getFullYear()>2015&&document.write("-"+new Date().getFullYear());</script>

<a href="http://kphuah.com/"> kphuah.com</a></p>


So these codes can be inserted into your theme plugin, page builder, or anywhere in your website or blog.

If you want to insert into “Twenty Sixteen” theme, just follow below steps.

In your Wordpress admin area >> Appearace >> Editor >> Theme Footer




I hope this simple tweak makes your next year’s 1st January one item lesser to worry about. Cheers!

P/S: Here’s my suggested software to perform HTML code editing >>Sublime Text 2



2 comments:

  1. such a glories Internet Marketing Journey to share their experience from this ideal post. thanks for sharing.





    jakarta seo perusahaan | cheap seo company in jakarta

    Desain Web murah di jakarta | cheap web design in jakarta


    ReplyDelete
    Replies
    1. Thanks Aaron Hank for the great comment. Appreciated it.

      Delete

What I need to know to build an e-commerce business?

Previous post I've shared why I'm moving to e-commerce instead of doing affiliate marketing. Today, let's talk about what are ...