-1

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 ?

1
1

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:

https://wordpress.org/support/topic/how-do-you-handle-custom-template-files-with-child-themes

Happy coding!

1
  • 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.