WordPress.org

Forums

[resolved] The year in my footer is still 2012, how can I make it auto-updated? (3 posts)

  1. zcamine
    Member
    Posted 2 years ago #

    Hi all,

    I'm a newbie and i would like some help :)
    the title says it all
    the year in my footer is still 2012, how can I make it auto updated?

    here is the website: http://www.watchnshare.tk

    please don't laugh at me :D

    cheers,
    zcamine

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    general, try and locate the code of the copyright text - possibly in footer.php; depending on the code, replace 2012 with <?php echo date('Y'); ?>
    http://php.net/manual/en/function.date.php

  3. zcamine
    Member
    Posted 2 years ago #

    thanks alchymyth, it works ! :)

    I have other thing to fix, shall post it here or create other topic for it?

Topic Closed

This topic has been closed to new replies.

About this Topic