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
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    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.