• Hi there, Just noticed on my site that the copyright date was still 2017 (!) so I went into my admin (siteground hosting, multi site) and open theme editor, found footer.php and tried to change 2017 to 2019. Clicked update file and got:

    Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.

    So logged in with FTP, found footer.php, edited it (2017 to 2019), saved and uploaded to directory.

    Looked on my site and did page refresh then footer completely disappeared.

    Does anybody have an idea how to bring it back? It was on the homepage, left bottom. Maybe with some custom CSS? I have a customise option in my theme with a field called custom CSS.

    Any help would be appreciated, thank you.

    Warmest regards to you all,
    Andy

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    One of your scripts is disappearing the footer content after the page loads. If you disable JavaScript in your browser, the footer will remain. Of course that’s hardly a solution, it’s just proof of my claim. You’ll need to selectively deactivate plugins to narrow down the source of the script. It could be your theme itself adding the script too. I suspect the lazy loader or infinite scroll script with no evidence whatsoever.

    Incidentally, if you want the copyright date to always reflect the current year, replace “2017” with <?php echo date('Y'); ?>

    I have checked your theme footer.php file
    /portra/footer.php

    
    <div class="copyright">© 2014</div>
    

    Go to that file and modify the year.

    @bcworkz says: if you want the copyright date to always reflect the current year, replace “2017” with <?php echo date(‘Y’); ?>

    This is the best for you.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    From what I can see you’re using a commercial theme named ‘Portra’ and that means you shouldn’t be hacking the theme by editing the files directly. If you haven’t done so already then consider setting up a Child Theme: https://developer.www.ads-software.com/themes/advanced-topics/child-themes/

    However we do not support commercial themes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Footer not displaying’ is closed to new replies.