• Modify themes or php, and updates will overwrite them the next time a theme or WB update becomes available. This seems to be a fundamental problem.

    What strategies or tool sets can you recommend to deal with this – it sounds like a workflow question to me – I have looked for an explanation, tutorial, or general discussion around this issue – surprisingly, they do not seem to be out there.

    Maybe they are, but if so, I do not know what people call this issue.

    Anyway, I am hoping someone will be able to send me to a workflow tutorial that deals specifically with this problem.

    I know I can keep backups before updating, but if I modify a php file, and the development team at WP changed that same file, then putting my older file in to replace the newer one would certainly be counter productive, and could break the system.

    Anyone have any thought on this?

    Thanks.

Viewing 1 replies (of 1 total)
  • If you do not want the modifications made to a theme to be over-written with the next theme update one of the best methods is to use a child theme.

    I wrote a post a while ago about creating child themes that references this post: How to make a child theme for WordPress at https://op111.net

    As to modifying the core “PHP” files of WordPress, there is (with extremely few exceptions) always a way to do what you need within the constructs of the theme, especially using the functions.php template file.

Viewing 1 replies (of 1 total)
  • The topic ‘Modify themes or php, and updates will overwrite them…’ is closed to new replies.