HTML template is not working even after converting it into wordpress theme [closed]

北城以北 提交于 2019-12-12 06:59:54

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!