My Unconscious Mind

My Unconscious Mind | Sphere to share things that rage inside a mind of a guy called Aban

 

Copyright Dinamis pada Footer Wordpress

Udah masuk bulan Desember, sebentar lagi tahun 2010 tiba (udah mau Piala Dunia, euy!). Buat para pengguna wordpress yang terbiasa meng-update footer tahun copyright (Contoh: © 2006 – 2009 SitusAnda.Com) secara manual, berikut sedikit tips untuk menghindari kebiasaan itu:

<p>copyright &copy; 2006 - <?php echo date('Y'); ?> SitusAnda.Com</p>

Dengan menggunakan date(’Y'), Anda tidak perlu susah-susah meng-update tahun copyright setiap pergantian tahun (kecuali Anda mengganti theme yang digunakan tentunya)

 
 

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

One Response to “Copyright Dinamis pada Footer Wordpress”

  1. bisri says:

    Wah mulai rajin update nih … :)

Leave a Reply

Search engine optimization by SEO Design Solutions