【发布时间】:2022-01-25 07:14:03
【问题描述】:
所以我是 wordpress 的新手,我刚刚在我的 wp-content/themes/mytheme 中为我的 wordpress 项目创建了一个自定义主题,我在新主题中添加了一个 index.php、blog.css 和一个 style.css 文件但是当我转到仪表板中的主题,新创建的主题未显示为选项。 我还缺少什么? 谢谢
style.css
/*
Theme Name: Start WordPress
Theme URI: http://wordpress.org/themes/startwordpress
Author: Me
Author URI: http://wordpress.org/
Description: The Start WordPress theme is my first custom theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: bootstrap, black, brown, orange, tan, white, yellow, light, one-
column, two-columns, right-sidebar, flexible-width, custom-header,
custom-menu, editor-style, featured-images, microformats, post-
formats, rtl-language-support, sticky-post, translation-ready
Text Domain: startwordpress
This theme, like WordPress, is licensed under the GPL .
Use it to make something cool, have fun, and share what you've learned
with others.
*/
【问题讨论】:
标签: php html css wordpress wordpress-theming