WordPress.org

Support

Support » How-To and Troubleshooting » Do header.php and footer.php get overwritten when we upgrade WordPress?

Do header.php and footer.php get overwritten when we upgrade WordPress?

  • We coded emergency escape buttons on our website some time ago, and recently found they had disappeared. I just put them back in, inserting `<form style=”text-align:left;”><input type=”button” value=”EMERGENCY ESCAPE” onClick=”location.replace(‘http://www.google.com’)”/></form>
    ` into both header.php and footer.php.
    Now I wonder whether upgrading WordPress some weeks ago would have caused header.php and footer.php to be overwritten?

Viewing 4 replies - 1 through 4 (of 4 total)
  • do you use the twentyten theme?

    If so read this: http://go.rvoodoo.com/WPchild
    it’s an explanation, and child theme tutorial

    never edit twentyten basically, use a child theme

    Moderator cubecolour

    @numeeja

    ɹoʇɐɹǝpoɯ

    The theme would have been overwritten with a new copy if you used the default twentyten theme and did not rename it or create a child theme.

    Thanks, both!

    Thanks again for the advice, and Rev Voodoo for your WPchild tutorial.
    Have created the child with its own style.css, header.php, and footer.php,
    and re-done a Twentyten download and reinstall. Looks like my emergency escape buttons are there on top and bottom of all pages, and everything else functioning correctly. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Do header.php and footer.php get overwritten when we upgrade WordPress?’ is closed to new replies.
Skip to toolbar