Title: Update Themes
Last modified: February 8, 2024

---

# Update Themes

 *  [thorsti](https://wordpress.org/support/users/thorsti/)
 * (@thorsti)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/)
 * I am creating my own theme. A slight change in my style.css header and WP opens
   a message declaring an update is available. When I click on the update the latest
   version of the Twenty Twenty Four theme is installed and all my files are replaced
   and lost. This looks like a bug.
 * So, I have the following questions:
 * A. How can I update my theme and not have WP override it with another theme?
 * B. How can I get rid of the update notification message?

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17410355)
 * Please show your style.css header
 *  Thread Starter [thorsti](https://wordpress.org/support/users/thorsti/)
 * (@thorsti)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17410372)
 * /*
 * Theme Name: Tora
 * Text Domain: Tora
 * Version: 1.0
 * Description: Responsive, Fast, Minimalistic, Stylish
 * Tags: all around, Nice
 * Author: Thor Stiefel
 * Author URI: [https://tora.is/](https://tora.is/)
 * */
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17410410)
 * Do you recall what change(s) you made to style.css?
 *  [mrtom414](https://wordpress.org/support/users/mrtom414/)
 * (@mrtom414)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17410464)
 * It shouldn’t update unless it thinks it the Twenty Twenty Four theme are you 
   are using an existing theme name. If you are creating the theme there wouldn’t
   be any updates unless you created the update. Are you starting from a blank theme
   or modifying the Twenty Twenty Four Theme.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17410486)
 * > A. How can I update my theme and not have WP override it with another theme?
 * If you’re using a block theme, just modify the theme in the Site Editor, don’t
   touch any theme files: [https://wordpress.org/documentation/article/site-editor/](https://wordpress.org/documentation/article/site-editor/)
 * If you’re not using a block theme, or you really feel the need to modify theme
   files, create a child theme: [https://developer.wordpress.org/themes/advanced-topics/child-themes/](https://developer.wordpress.org/themes/advanced-topics/child-themes/)
 *  Thread Starter [thorsti](https://wordpress.org/support/users/thorsti/)
 * (@thorsti)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17410673)
 * Ok, I am starting a fresh. I delete all existing themes and write all my files.
   So here is what is so strange: After I delete theme files and add my style.css
   and modify it, WP brings up a message that says there is an update available.
   That update (if I check the update) install Twenty Twenty Four and overrides 
   all my existing files and folders.
 *  Thread Starter [thorsti](https://wordpress.org/support/users/thorsti/)
 * (@thorsti)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17410677)
 * [@steven](https://wordpress.org/support/users/steven/) Stern
 * I made a change in the comment about theme version
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17410832)
 * If you set the version to 99.9, it should stop offering to update, whatever else
   is going on.
 *  Thread Starter [thorsti](https://wordpress.org/support/users/thorsti/)
 * (@thorsti)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17410854)
 * Thanks Steven –
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17410867)
 * When you say you’re writing your own theme files with all other themes deleted,
   are you starting from scratch (as in writing into a previously blank file), or
   are you modifying existing files?
 * If you’re modifying existing files, where did you get them from?
 *  Thread Starter [thorsti](https://wordpress.org/support/users/thorsti/)
 * (@thorsti)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17410876)
 * [@macmanx](https://wordpress.org/support/users/macmanx/) I am adding empty php,
   css files etc. and writing my own code, i.e. not modifying existing theme. As
   I said – starting from scratch
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17411083)
 * What directory did you put the files in, specifically the full directory path
   to style.css starting with /wp-content/?
 *  Thread Starter [thorsti](https://wordpress.org/support/users/thorsti/)
 * (@thorsti)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17411248)
 * /wp-content/themes/my-theme/style.css
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17413642)
 * Excellent, with that location and the CSS header from earlier, it shouldn’t be
   replaced with any other theme going forward, assuming Theme Name, Text Domain,
   and /my-theme/ remain unique from anything found at [https://wordpress.org/themes/](https://wordpress.org/themes/)

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Update Themes’ is closed to new replies.

## Tags

 * [create theme](https://wordpress.org/support/topic-tag/create-theme/)
 * [theme update](https://wordpress.org/support/topic-tag/theme-update/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 4 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/update-themes/#post-17413642)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
