我在我的本地WordPress中做了一個自定義主題。我在文件夾和index.php中添加了一個style.css。我還添加了一個Images文件夾。但是我的主題沒有出現在可用的主題中!可能的解決方法是什麼?請幫助?自制主題沒有出現在Avaliable主題選項
前20行的style.css的:
/*
Theme Name: test
Theme URI: http://company_name.com
Description: The test theme
Author: sankalp
Author URI: http://company_name.com
Version: 1.0
License:
License URI:
General comments (optional).
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1;}
ol, ul { list-style: none;}
blockquote, q { quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none;}
複製二十二個主題,並從style.css中更改主題名稱。 檢查是否正在工作.. – oscprofessionals