The customer has a wordpress site (now version 4.2.2) with a custom theme that was made somewhere on the side. The WP engine itself has not been changed, it is updated with built-in tools successfully. The internal service name of the theme seems to conflict with some standard WP theme, and the admin panel strongly suggests updating the theme. The test update in the sandbox all broke - in general, can not be updated.

How can I rename a custom theme so that WP understands that it was custom and did not try (did not offer) to update it?

  • First lines in style.css. Switch to this on a third-party topic, so that WordPress is not suddenly in a situation where there is no given topic. - etki
  • The title of the theme in style.css is not found once, the first lines are CSS code. No comments CSS file contains. - AntonioK
  • Strangely, WordPress 4+ I cursed at the lack of a comment in style.css. By default, there is all the info about the topic given ( docks ) - etki
  • And where exactly "cursed"? Maybe my swears, but I did not notice? - AntonioK
  • In the list of topics I did not allow me to switch at all, until I indicated the parent theme. - etki

2 answers 2

At the beginning of style.css, commented lines like:

/* Theme Name: Twenty Thirteen Theme URI: https://wordpress.org/themes/twentythirteen/ Author: the WordPress team Author URI: https://wordpress.org/ */ 

If not, add. To rename a theme, change the Theme Name

    The task was solved by copying the folder with the theme to the folder with the name that you want to change the name of the theme, then switch to the WP theme in the admin panel and delete the folder with the original theme. Surprisingly, nothing broke.