我在做一个儿童主题的“彩色”主题。它在开发中工作,但当我将它部署到暂存时就不行了。
这意味着我在子主题中所做的更改是在本地呈现的,而不是在远程呈现的。
更新:这是一个格子/基岩项目。我认为这个问题与工作人员有关,而不是与议会有关。在上下文中查看整个主题和子主题:https://github.com/aitormendez/obrunete/tree/master/web/app/themes
这是我的colormag-child/style.css文件的头:
/*
Theme Name: ColorMag child
Author: Aitor
Template: colormag
Version: 1.0.0
Text Domain: colormag-child
*/这是style.css原始彩色主题的标题(我不知道是否相关):
/*
Theme Name: ColorMag
Theme URI: http://themegrill.com/themes/colormag/
Author: ThemeGrill
Author URI: http://themegrill.com
Description: ColorMag is a perfect responsive magazine style WordPress theme. Suitable for news, newspaper, magazine, publishing, business and any kind of sites. Get free support at http://themegrill.com/support-forum/ and check the demo at http://demo.themegrill.com/colormag/
Version: 1.1.5
License: GNU General Public License, version 3 (GPLv3)
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Tags: one-column, two-columns, right-sidebar, left-sidebar, flexible-header, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, post-formats, footer-widgets, blog, e-commerce, news
Text Domain: colormag
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/非常感谢。
发布于 2016-10-20 09:04:45
很抱歉,但问题是,在制作过程中,我激活了父主题而不是子主题。我对你的愚蠢感到尴尬,我为你浪费时间而道歉。
https://wordpress.stackexchange.com/questions/243090
复制相似问题