Using php in the footer copyright area of Museum Pro

Home Forums All Other Themes Using php in the footer copyright area of Museum Pro

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #123121
    billing8billing8
    Participant
    • Topics: 4
    • Replies: 12
    • Total: 16
    Member since: April 4, 2019

    RE: Museum Pro
    I’d like to use this code in the footer copyright area to always show the current year.
    <?php $year=date(‘Y’); echo “$year”; ?>

    Just placing it in your edit box does not work.

    How/where do I add it?

    #123135
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30649
    • Total: 30649
    Member since: August 16, 2013

    Hi,

    Kindly edit footer.php file, go to line number 116 and paste your date code in <div class=”copytext”>

    Regards,
    Dave

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