子主题在本地环境中工作,但在远程环境中不工作

时间:2016-10-18 作者:aitor

我正在研究“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/
*/
子主题标题中是否有错误
1 个回复
最合适的回答,由SO网友:aitor 整理而成

很抱歉,但问题是,在制作中,我激活了父主题而不是子主题。我为这种无俱乐部的行为感到尴尬,很抱歉让你浪费时间

相关推荐

Admin sidebar customization

我的新客户wordpress站点在管理侧栏中没有插件、外观或任何其他默认项。谁能告诉我这些是怎么出现的吗。该站点正在主站点的子目录中运行。它有自己的wordpress安装。主题是前面的rttheme16。提前谢谢。