• Hello

    Happy New Year.

    I have noticed that the copyright notice at the bottom of the page says 2018 instead of 2017.

    Can someone advise how to change this to 2017? It is done automatically so every website using this theme would also have it changed automatically to 2018.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello msii45,

    Yes the footer copyright notice shows the current date by default.
    If you wish to change the date just go to your footer.php file and make changes.

    Note: Be sure you are familiar with the theme file/s and always use child theme if you are doing any modifications.

    Thanks!

    Thread Starter msii45

    (@msii45)

    Where about in the footer.php file will it show this and what exactly would I need to change?

    Go to your footer.php file; find the section inside <div class="copyright">;
    Then you can replace <?php _e(date('Y')); ?> with something like <span> 2017 </span> or any date of your choice.

    Note: Be sure to use child theme for any modification.
    Thanks!

    Thread Starter msii45

    (@msii45)

    Hey

    Thanks.

    I found the exact code to be

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

    I replaced this with

    <span> 2017 </span>

    but it leads to an unspecified error and that the change has not been made

    Hello msii45,
    Replace the entire section with the following changes;

    <div class="copyright">
        <?php esc_attr_e('Copyright &copy;', 'circumference'); ?> <span> 2017 </span> <?php echo get_theme_mod( 'copyright', 'Your Name' ); ?>. <?php esc_attr_e('All rights reserved.', 'circumference'); ?>
     </div>

    Thanks!

    Thread Starter msii45

    (@msii45)

    All good, many thanks ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change Copyright Year’ is closed to new replies.