问题
I have downloaded an HTML template and converted it into Wordpress theme.But I find following error "Broken Themes
The following themes are installed but incomplete. Themes must have a stylesheet and a template. Name Description stheme Stylesheet is missing."
Can anyone help me out?
回答1:
This error comes when your wordpress template has missing stylesheet. Your template folder should contain style.css as main stylesheet in order to work properly.
Main files required for Theme
style.css
index.php
header.php
footer.php
page.php
single.php
images folder
css folder
Other files required for theme.
author.php
category.php
tag.php
put style.css in theme folder not in css folder inside your theme.
all your css declarations should come in style.css
来源:https://stackoverflow.com/questions/25582216/html-template-is-not-working-even-after-converting-it-into-wordpress-theme