WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Accidentally Erased footer.php code (4 posts)

  1. markaddison
    Member
    Posted 3 years ago #

    my blog: http://markaddison.com/

    I accidentally erased the "footer.php" code. How can I get this back?! I am using the Modularity theme, if that makes a difference. Is there a way to get the default code again or "time machine" back to previously saved version of the blog?

    Any suggestions would be greatly appreciated!

  2. ClaytonJames
    Member
    Posted 3 years ago #

    1) restore the footer.php file from your last backup.
    2) extract a new copy of footer.php from the Modularity theme and replace it with that.

  3. markaddison
    Member
    Posted 3 years ago #

    Thanks, Clayton!

    I downloaded the Modularity theme again and replaced the code from that. Thank you for the suggestion!

    Also, you made me realize, we are not backing up our blog as of now so I am going to do that in case we run into any trouble in the future.

    Appreciate the help!

  4. ClaytonJames
    Member
    Posted 3 years ago #

    You're welcome. Always good to keep a recent backup!

Topic Closed

This topic has been closed to new replies.

About this Topic