Black Friday & Cyber Monday Offer | Flat 20% OFF on Lifetime & All Themes Package. Use coupon code BFCM24 | Offer valid till 5th Dec 2024 Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Dynamic Copyright in Footer

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

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

    #10710
    Grace Themes
    Member

    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

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