Can I change the theme name in WordPress?

How can I change the theme name in WordPress and where?

Can I also change the folder name theme1244 in public/wp-content/themes/theme1244 without having problems in the future?


All the above is correct, but is not enough. After you rename the theme, e.g. rename the folder old-theme --> new-theme, you should copy the theme customizations (colors, header / footer, widgets, etc.) from the old theme to the new theme. This is done directly in the MySQL database:

  1. Find an option named theme_mods_old-theme in the table wp_options
  2. Copy the option_value (it is a text holding the theme customizations in a special WordPress format)
  3. Put the copied value in a new option named theme_mods_new-theme in the wp_options table.

Screenshot of the wp_options table in phpMyAdmin

Step 1: Firstly go to wp-content/themes/ folder. And then rename your theme folder to whatever you want.

Step 2: Open your theme folder and open style.css file. In top part of style.css you will see theme name. Rename it and save changes.

Step 3: Go to Wp-admin/appearance/themes and activate your theme under new name.

If you are using child/parent theme and you also rename parent theme folder&name, so after Step 3 you should additionally change parent theme path (template field) in child theme’s style.css.

note : renaming your theme will stop its automatic updates, you should do it manually in the future.

You can absolutely change the name of the folder without having any problems. If you want to change just the themes name, open the style.css in the root folder of your theme and edit the name in the comments at the top of the file. If you plan on doing more changes, you might be better off creating a child theme:

Tags: Wordpress / Themes

Similar questions

Change wordpress theme name (not child theme)
Is it legal to change the actual name of a wordpress theme (premium or not) to something else (like a client's name for example) so that people won't know what theme is used on a website?
Will I be able to update WordPress Paid theme if I change theme name from style.css file?
Suppose I've installed BE Theme in wordpress. If I change default theme name and other author info from style.css file, will I be able to get automatic updates later?
Can't change theme name
I am developing a theme and it currently has no theme information. Right now it is pulling it's name from the theme folders name and the "Author"is anonymous. I tried changing it by adding code into the style.css as such: It succeeds at adding text into the author name, except it adds it all with the formatting messed up. It looks like this on my t...
WordPress : Change name in my button from 'LOGOUT' to the name of the user?
On my WordPress site I have a modal button in the header that allows users to login. Once logged in the button text changes from 'LOGIN' to 'LOGOUT', giving the user the ability to logout if they want to. How can I get that button to show the users name instead of 'LOGOUT'. For example my name is Tina and when I first select the login button & ...
Change /product-category/category/name to /product-category/name
My product category urls currently look like: /product-category/category/category-name Where the category-name is the only changing part. I would like to change /product-category/category to just /product-category, so my final url would look like: /product-category/category-name Most of my google searches have yielded results relating to removing /...
Get elements by class name and change class name
I have the following: I need a JavaScript code to look for all elements with that class, and remove the "elementor-active". So the code, after the JavaScript runs on page load, should look like this: Here is what I tried: Thanks!

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.