Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #28664

    Hi there,

    How can I put an automatic date(year) in my footer? So I don’t need to change it every year.

    Thanks

    #138275

    Hi,

    Please in your theme directory open Footer.php file and change the code in line 101 from

    <span class='copyright'><?php echo $copyright . $kriesi_at_backlink; ?></span>

    to:

    <span class='copyright'><?php echo $copyright; echo date(' Y') . $kriesi_at_backlink; ?></span>

    Regards,

    Yigit

    #138276

    Thanks for your reply.

    But what happends when I update the theme?

    #138277

    Hi,

    You’re welcome.

    I would suggest you to use a child theme. You can make changes there and when you update parent theme footer.php in child theme will still be unchanged.

    Regards,

    Yigit

    #138278

    I’ve never created a child theme. Do you know where I can find instruction to create a proper child theme?

    Thanks

    #138279

    Hi,

    Please follow instructions here http://codex.wordpress.org/Child_Themes

    Regards,

    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Automatic date in footer’ is closed to new replies.