I have to custom differents pages of my theme like archive.php or single.php, I want added my code without lost these in future update of theme.

It is possible ?


If I understand it correctly, making a child theme and putting your custom single.php and archive.php in there should achieve this effect. The child theme files will be called ahead of the parent theme files. Good discussion here:


Happy coding!

  • Umm, why the downvote? I can't see what was wrong with this – Bassface Dec 9 '15 at 9:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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