Can I change the theme name in WordPress?

前端 未结 5 1677
北恋
北恋 2021-01-31 15:40

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 pro

5条回答
  •  执念已碎
    2021-01-31 16:12

    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 in child theme’s style.css.

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

提交回复
热议问题