Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable theme updates on WordPress to avoid losing my changes?

I was trying to modify a template to should use a Child-theme (using WordPress) so, when parent template updates I wont lose my changes. Well, the problem is that I created a template using parts of other templates. I was thinking about set my style and all like that, but maybe I missed some update command and if any parent template will get an update I might lose all my work.

How can I be completely sure to not add any information about updates on my customized template??

Thanks

like image 312
jpganz18 Avatar asked Jun 09 '14 15:06

jpganz18


People also ask

How do I disable a WordPress theme update?

To disable automatic updates for themes, add the following code. add_filter( 'auto_update_theme', '__return_false' ); If you want to disable automatic updates to both your theme and any plugins, add both lines, as shown below. Automatic updates for WordPress core, themes, and plugins will now be disabled.

Does updating WordPress affect my theme?

Just like plugins, your WordPress theme can also cause conflicts when you update WordPress. If you are using a custom or paid theme, it's a good idea to check with the theme developer to see if they have an updated version that is compatible with the latest version of WordPress.


1 Answers

Increase the version number in the style.css to something really high, and you should stop getting the update notices.

like image 151
Alex Postushnoy Avatar answered Oct 17 '22 15:10

Alex Postushnoy