I have editted my WordPress theme php files; I am using the Enigma theme and I have editted files such as;
Everything works fine but every so often these files either get updated or reverted back to their old versions and obviously my site breaks. I've made simple changes to the files such as url escape certain strings from the database and use get_template_part() on the front page to retrieve my custom PHP files. The funny thing is that I have turned off automatic updates of themes (I turned it off through the interface) but maybe its still turned on or there is something else causing the files to revert/change.
Do you know what could cause these files to change? How can I programmatically disable theme updates? Whats the proper procedure to edit theme files and ensure they dont get overwritten? Should I copy the enigma theme and create a new folder with a new theme name?