未找到基于工具箱的子主题

时间:2011-07-12 作者:Mike Wills

我想把toolbox 主题并在我的multisite WP 3.2安装中使用它。

我创建了一个名为wp-content/themes/charlie-repair-toolkit/ 然后我创建了style.css 文件夹中包含以下信息(其中一些是从原始主题复制的):

/*
Theme Name: Charlie\'s Repair
Theme URI: http://wordpress.org/extend/themes/toolbox/
Author: Mike Wills
Author URI: http://mikewills.me
Theme: toolbox
Description: Based on the Toolbox theme from Automatic. This site is for Charlie\'s Repair
Version: 0.1
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready

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.
*/

@import url("../toolbox/style.css");
该主题不会显示在网络管理员或站点的仪表板中。关于我做得不对的地方有什么想法吗?

2 个回复
最合适的回答,由SO网友:Jeremy Jared 整理而成

缺少父主题的模板名称。应该是这样的:

/*
Theme Name: Charlie\'s Repair
Theme URI: http://wordpress.org/extend/themes/toolbox/
Author: Mike Wills
Author URI: http://mikewills.me
Template: toolbox
Description: Based on the Toolbox theme from Automatic. This site is for Charlie\'s Repair
Version: 0.1
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready

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.
*/

@import url("../toolbox/style.css");
如果有“主题:工具箱”,则需要是“模板:工具箱”

SO网友:Aris Blevins

通过手机快速完成此操作。我认为您需要将“主题:工具箱”更改为“模板:工具箱”

这是我对儿童主题的标准。

结束

相关推荐

WordPress MultiSite。可以用域代替子域吗?

我是多站点新手。这是一个简单的问题。我知道WordPress multisite可以为子域设置。是否可以将域与子域一起使用?我在谷歌上搜索过,但并没有得到很好的结果。也许我用错了关键词。so i can use a single wordpress installation for:领域com公司第1款。领域com公司第2款。领域com公司实例com公司示例2。com公司第1款。示例2 COM希望你得到它。提前谢谢!