![](/img/trans.png)
[英]Is there a way to automatically install a wordpress parent theme when installing a child theme?
[英]Wordpress error when installing parent theme
我是Web开发人员的新手:尝试将自定义主题安装到Wordpress。 运行Windows 10并使用MAMP在本地服务器上工作。
当我去看主题时,收到以下消息:
Broken Themes
The following themes are installed but incomplete.
Name Description
mywebsite The parent theme is missing. Please install the "mywebsite;" parent theme.
尝试安装时出现错误:
An unexpected error occurred. Something may be wrong with WordPress.org or this
server’s configuration. If you continue to have problems, please try the support
forums.
有谁知道我该如何解决?
谢谢
检查您的子主题style.css是否具有:
/*
Theme Name: yourtheme-child
Template: yourtheme
Text Domain: yourtheme-child
*/
并在主题style.css中:
/*
Theme Name: yourtheme
*/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.