How To Change Theme Name In WordPress Dashboard?
October 19th, 2016 | by Ravi Chahar || 6 Comments |
Are you using a free theme or a premium theme? Do you like the name of your theme? Do you know that you can change theme name in WordPress dashboard?
If you don’t like the name of your theme then you can rename it. In the themes section, you may see that the theme you’re using has a name which is showing even on the dashboard.
A line showing that “WordPress is running this theme”. In this tutorial, you will learn how to rename theme in WordPress.
Edit The Theme Folder To Change Theme Name In WordPress Dashboard.
To accomplish your task, you have to rename the theme folder from your cPanel and there are a few files from which you have to edit the theme name.
There a few steps you have to take.
Step 1:- First of all, deactivate the theme you want to rename.
Step 2:- Login to your cPanel and open the file manager. You can also use the FTP account.
Step 3:- Go to wp-content/themes and the theme folder.
Step 4:- Change the theme folder name.
Step 5:- If you know about the WordPress theme file structure then you would know that the stylesheet file also consists the name of the theme.
Theme Name : Name of the Theme
Author Name : Name of Author
Author URI : URL of The Author Website
Open the style.css file and change the theme name. The code will be similar as shown above. You just have to replace the theme name with your own. You will find it at the top of the file where all the attributes are declared about this theme.
Step 6:– It is possible that the theme developer has declared the theme name in every single file. You have to check all the files. If you’re using a child theme then you would definitely find the theme name in most of the files.
If you know how to create a child theme then it won’t be a problem for you to understand this concept.
A code consisting the package and subpackage.
@package Theme Name
@subpackage Child Theme Name
The value of the subpackage may vary according to the file.
Though in most of the cases to change theme name in WordPress dashboard, you just have to rename the theme folder name and the stylesheet name but still, you should every single possibility.
NOTE:- You have to check the working of your theme after editing the theme folder name and the stylesheet name. If it works then congrats, you have successfully changed the theme name.
Otherwise, you have to check each and every file of the theme.
I Hope Now You can Change Theme Name In WordPress Dashboard.
After renaming the theme name, just activate the theme and it will run perfectly fine just like before. But the theme name showing on the dashboard would be different.
Make sure that you choose a name which is not available in the WordPress repository. Because sometimes the same name may conflict and you will see unwanted updates of the theme.
You can do a lot of things with a WordPress theme.