![](/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.