WordPress.org

Ready to get started?Download WordPress

Forums

Edited footer.php, now elements missing (4 posts)

  1. jnoyes16
    Member
    Posted 1 year ago #

    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.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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.

  3. jnoyes16
    Member
    Posted 1 year ago #

    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...

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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: http://codex.wordpress.org/Child_Themes

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.