Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #699324

    Hi, what is the best way to modify the Enfold template’s footer.php (or if there is another way?) so that the copyright year will update automatically?

    #699776

    Hey gagnelli,

    It should do that automatically if I’m not mistaken, is it not working? If it’s not then please post a link to the site in question.

    Thanks,
    Rikard

    #699793

    Hi. I didn’t see any place to add code to update the year automatically, and right now I just have the text I typed in the footer socket. I had to type in the year manually. My client doesn’t want to have to manually update the copyright year every year. I know there’s a way to go into the footer.php file to fix that but I can’t figure out how with the way the code is written.

    #700422

    Hi,

    Adding something like this to footer.php should probably work:

    <?php echo date('Y'); ?>
    

    Thanks,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.