Flat 20% OFF on All Themes Package. Use Coupon Code GRC20 | Offer valid till 31st Oct 2021 Buy Now

Reply To: Dynamic Copyright in Footer

#10710
Grace Themes
Participant

Hi,

To display dynamic copyright year in footer section

Go to Appearance -> Editor -> footer.php
at line no. 218, you will find the code:

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

Now replace this code with the below code
<div class="copyright-txt">Copyright &copy; <?php echo date('Y'); ?>. All rights reserved</div>

Regards
Grace Themes