我是web dev的新手:尝试在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
*/