我正在研究“colormag”主题的儿童主题。它在developmet中有效,但在我将其部署到staging时无效。
这意味着我在子主题中所做的更改将在本地呈现,但不会在远程呈现。
UPDATE: 这是一个网格/基岩项目。我认为这个问题与WP有关,而不是与网格有关。要在上下文中查看整个主题和子主题,请执行以下操作: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
*/
这是样式的标题。css原创colormag主题(我不知道是否相关):
/*
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/
*/
子主题标题中是否有错误如果是,为什么它在本地工作如果没有,为什么它不能在remote上工作非常感谢您。