Easily Add Blog Copyright message (Wordpress Plugin)

Discussion in 'WordPress' started by KeywordNewbie, Dec 20, 2008.

  1. #1
    I don’t know if anyone else has this problem, but I am faced with the prospect of updating all of my blogs to update the year in 2009 in the copyright notice...

    Since I was going to have to update each and every one and I didn't want to do it a second time ever, I wrote a plugin that once installed (either on an old blog or on a new blog) removes the update requirement...

    To be sure there are other ways around this, but for me this is the best solution...

    As always… feedback is encouraged…

    http://www.blogtrafficexchange.com/blog-copyright/
     
    KeywordNewbie, Dec 20, 2008 IP
  2. Pandemix

    Pandemix Well-Known Member

    Messages:
    954
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    120
    #2
    WordPress has a function for this already:

    <?php echo date("Y"); ?>
    Code (markup):
    It updates the year automatically.
     
    Pandemix, Dec 20, 2008 IP
  3. KeywordNewbie

    KeywordNewbie Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    that is php and yes there are ways of doing just this... I did not claim otherwise... however without just a little more code you will not maintian the original year...

    date('Y') == 2008 ?  date('Y') : '2008-'.date('Y');
    Code (markup):
     
    KeywordNewbie, Dec 20, 2008 IP