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
    billing8
    Participant
    • Topics: 3
    • Replies: 1
    • Total: 4
    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
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 23415
    • Total: 23415
    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.