Skip to main content
added 2 characters in body
Source Link
sazr
  • 357
  • 2
  • 7
  • 14

I have editted my WordPress theme php files; I am using the Enigma theme and I have editted files such as;

  • front-page.php
  • home-slideshow.php

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 notstill 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?

I have editted my WordPress theme php files; I am using the Enigma theme and I have editted files such as;

  • front-page.php
  • home-slideshow.php

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 not 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?

I have editted my WordPress theme php files; I am using the Enigma theme and I have editted files such as;

  • front-page.php
  • home-slideshow.php

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?

Source Link
sazr
  • 357
  • 2
  • 7
  • 14

Editted Theme Files Get Updated/Reverted Every So Often

I have editted my WordPress theme php files; I am using the Enigma theme and I have editted files such as;

  • front-page.php
  • home-slideshow.php

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 not 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?