Support » Themes and Templates » Edited footer.php, now elements missing

  • I edited the footer.php on my website to add a sidebar, which I got, but it removed the footer. So, I removed the <?php get_sidebar( ); ?> code that I had inserted, and it removed the white background and the footer from all of my pages. I tried uploading a fresh footer.php into my theme, but to no avail, it changed nothing. Anyone have any ideas? I am really at a loss on this one. I am using the twentyeleven theme. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you replace the footer.php file via FTP? A bigger problem is that you are modifying theme files — so all of your changes will be erased when WP is updated. You should be using a Child Theme for any theme files modifications.

    I replaced the footer.pho file via notepad…opened the “new” footer.php via notepad, copy/pasted the file from notepad into the footer.php file on my theme…no good? As you can tell, I am not exactly a seasoned CSS pro…

    I’d suggest you download a new copy of your theme to your computer and use that footer.php file to replace the one you changed. See if that repairs it. If not, you may need to reinstall the theme. Back up your site first – it will erase the changes you’ve made to theme files – but from the back-up copy you can move those changes to a child theme – see:

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edited footer.php, now elements missing’ is closed to new replies.