首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >子主题在本地环境中工作,但不在远程上工作。

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

WordPress Development用户
提问于 2016-10-18 08:22:26
回答 1查看 703关注 0票数 1

我在做一个儿童主题的“彩色”主题。它在开发中工作,但当我将它部署到暂存时就不行了。

这意味着我在子主题中所做的更改是在本地呈现的,而不是在远程呈现的。

更新:这是一个格子/基岩项目。我认为这个问题与工作人员有关,而不是与议会有关。在上下文中查看整个主题和子主题:https://github.com/aitormendez/obrunete/tree/master/web/app/themes

这是我的colormag-child/style.css文件的头:

代码语言:javascript
复制
/*
 Theme Name: ColorMag child
 Author: Aitor
 Template: colormag
 Version:      1.0.0
 Text Domain:  colormag-child
*/

这是style.css原始彩色主题的标题(我不知道是否相关):

代码语言:javascript
复制
/*
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/
*/
  • 子主题标题中有什么问题吗?
  • 如果是的话,为什么要在当地工作呢?
  • 如果没有,为什么它不在远程上工作?

非常感谢。

EN

回答 1

WordPress Development用户

回答已采纳

发布于 2016-10-20 09:04:45

很抱歉,但问题是,在制作过程中,我激活了父主题而不是子主题。我对你的愚蠢感到尴尬,我为你浪费时间而道歉。

票数 1
EN
页面原文内容由WordPress Development提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://wordpress.stackexchange.com/questions/243090

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档