Spring Sale just opened, enjoy your purchase with 20% discount on Themes Bundle. Use Coupon Code spring2022Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

Reply To: Automatic copyright date

#8121
Grace Themes
Participant

Hi

To automatically update the copyright year, just follow the below steps

1. Go to Appearance -> Editor -> footer.php
at line no. 189 you will find the code

<div class="copyright-txt"><?php if( of_get_option('copytext',true) != ''){ echo of_get_option('copytext',true); }; ?></div>

Now just replace this code with below code

<div class="copyright-txt">&copy; <?php echo date('Y'); ?> <?php if( of_get_option('copytext',true) != ''){ echo of_get_option('copytext',true); }; ?></div>

2. Remove ‘© 2016’ from footer copyright section.

Regards
Grace Themes

  • This reply was modified 4 years, 2 months ago by Grace Themes.