How to change wordpress theme name

18:28:00 0 Comments A+ a-


When you work on wordpress you will found many themes by default. which is provided by the wordpress to you at the time of installation of wordpress.
like

  1. twentytwelve
  2. twentythirteen
  3. twentyfourteen
But you can also use your custom name instant of these names .
For make your own custom theme you have just follow some steps and you will do it easily.



step1- go to wp-content\themes

you will find some folder like this
then change the name of your folder as you want.

In below screenshots i have change twentyfouteen folder name into mysite




Step-2  Change name in css file

                  After that open the same folder
                 open css file named style.css
    
                 mysite>style.css
 /* Theme Name: mysite 

Theme URI: the-theme's-homepage 

Description: a-brief-description 

Author: your-name Author URI: your-URI 

Template: use-this-to-define-a-parent-theme--optional 

Version: a-number--optional . General comments/License Statement if any. . */
Step3  Re-activate theme form wordpress admin

After the change of css file name you have to reactivate your theme 

Go to    Admin dashboard > appearence > activate your theme with new name

now refresh your URL on browser your theme name has been change now.


thanks for reading ....  Enjoy