Summer Sale | Flat 10% OFF on All Themes Package. Use Coupon Code Summer24 | Limited Time Offer! 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.