Dynamic Copyright in Footer

Home Support MilestoneZ WordPress Theme Dynamic Copyright in Footer

This topic contains 1 reply, has 2 voices, and was last updated by  Grace Themes 8 months, 2 weeks ago.

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.