我想把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");
该主题不会显示在网络管理员或站点的仪表板中。关于我做得不对的地方有什么想法吗?
最合适的回答,由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");
如果有“主题:工具箱”,则需要是“模板:工具箱”