WordPress主题开发||| 目录主题名称

I have created my own theme from scratch. I am therefore in the process of testing the theme through the plugin Theme Check.

"WARNING: Your theme appears to be in the wrong directory for the theme name. The directory name must match the slug of the theme. This theme's correct slug and text-domain is twentyeleven.”

The name is just an example.

I can’t change the name of the folder, without the theme losing a lot of elements on the page. I reinstall the theme each time. It also does not work when I change the name in style.css.

Do you have any suggestions?

Submit your template on http://themecheck.org they will give you proper slug text-domain for your theme name. Kindly check Text Domain: in style.css also.