WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I overrides the parent theme by copying "header.php" and "footer.php" files to the "child" folder, it is working nicely. But I wonder if I install a plugin that need to edit the "header.php" or "footer.php" files, what will happen then?? Since I override those php files, will the plugin edit the files in "child" folder as well??


share|improve this question
up vote 4 down vote accepted

A plugin never edits those files - WordPress uses a system of "hooks" and "filters" that allows plugins to change behaviour without altering code.

So, in short, as long as you've created your child theme correctly, plugins will work fine.

Some references:

share|improve this answer
Thanks. Actually I purchased the theme from 3rd party, sometimes they may update the theme files and I need to check and update the child files as well. Except this case, do I need to worry any other things?? – RRN Jul 17 '12 at 10:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.