I want to tweak some of the .php template files in my WordPress theme, and I understand that the optimal process is to copy the relevant files into a child theme folder and edit the files there, so that my tweaks won’t be lost in future theme updates.

But does that mean that I then won’t get the benefit of theme updates to the files I’ve put in my child theme folder?

This might not be a good thing, as the theme update may have fixed the issues for which I initially needed to make the code tweaks!

Seems to me it would be better (although more work-intensive) if I altered the original theme templates and kept a note of what I did (in a .txt file sitting in my child theme folder, for example), then reapplied my code tweaks to the .php templates after any theme update, if necessary.

Is there a better way than this, with WordPress?

Read more here: Template tweaking in WordPress, change the original or copy to child theme?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: