Get 20% Off On All Our Premium WordPress Themes Bundle. Use GRACEBFCM Coupon Code For Discount Deal Upto Dec 15 Buy Now

Dynamic Copyright in Footer

Home Support MilestoneZ WordPress Theme Dynamic Copyright in Footer

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #10696

    How do I create a dynamic copyright year in the Footer?

    Grace Themes


    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>

    Grace Themes

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