- copy all your custom styles in your
custom.cssfile to a safe-place, like a text document on your desktop.
- upload the new version of the theme to
/wp-content/themes/overwriting the older one.
custom.cssand put your custom styles back in.
Except for the header images in the
/headers folder, all the theme files in your theme directory will be overwritten.
Important: If you’ve made changes to any other the theme files, make sure you save them.
Only if you can
The above method is simple and works very well. But, if you are like me and don’t want even a single unused file residing in your theme folder, then here’s the way to do it.
headersfolder in the theme directory to a safe place.
- switch to the WordPress default theme.
- delete the
- upload the new version and activate it.
- replace the
headersfolder back in.