Title: Child Themify
Author: J B
Published: <strong>2012 年 12 月 31 日</strong>
Last modified: 2018 年 1 月 30 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/child-themify.svg)

# Child Themify

 作者：[J B](https://profiles.wordpress.org/johnpbloch/)

[下载](https://downloads.wordpress.org/plugin/child-themify.2.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/child-themify/#description)
 * [评价](https://cn.wordpress.org/plugins/child-themify/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/child-themify/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/child-themify/#developers)

 [支持](https://wordpress.org/support/plugin/child-themify/)

## 描述

Create child themes from any non-child theme with the click of a button.

This plugin is multisite compatible; if used on a multisite network, controls for
creating child themes will be in the network admin instead of the regular site admin.
Pick the parent theme from the dropdown and name name your new child theme. You 
can also change the author name and select files you want to copy from the parent
to the new theme.

Click the button and you’re all set!

## 屏幕截图

 * [[
 * No Parent Selected
 * [[
 * Parent Selected
 * [[
 * Advanced Fields

## 安装

 1. Upload the `child-themify` directory and its contents to the `/wp-content/plugins/`
    directory (or your custom location if you manually changed the location).
 2. 通过WordPress的“插件”菜单激活插件
 3. You can now create a child theme of any non-child theme you have installed by going
    to the “Create Child Theme” page in the Appearance/Themes admin menu.

## 常见问题

  Installation Instructions

 1. Upload the `child-themify` directory and its contents to the `/wp-content/plugins/`
    directory (or your custom location if you manually changed the location).
 2. 通过WordPress的“插件”菜单激活插件
 3. You can now create a child theme of any non-child theme you have installed by going
    to the “Create Child Theme” page in the Appearance/Themes admin menu.

  Why do you use @import instead of enqueueing the stylesheet?

I [catch a lot of flack](https://wordpress.org/support/topic/method-not-recommended/)
for not using the method recommended to theme developers for including stylesheets,
so hopefully you one-star fanatics will see this first and reconsider.

This plugin is not creating themes for submission to the repo and it doesn’t have
any control over the quality of the theme it’s extending. In order for this plugin
to successfully enqueue the child theme AND parent theme’s style.css, the parent
theme has to actually enqueue its own stylesheet (not a given by a long shot), it
has to be done using `get_template_directory_uri()`, not `get_stylesheet_directory_uri()`(
also not a given), and, in order for the child stylesheet to be enqueued _after_
the parent’s (kind of important for a child theme), there has to be some kind of
reliable naming convention for the enqueue ID in the parent theme (no such standard
exists). On the other hand, `@import` just works. It’s the only available method
that gets the child theme working in virtually all cases out of the box.

And if you really can’t bear the thought of using `@import`, just edit the files
after creating the theme so that it no longer uses it. It’s _your_ theme, you can
do as you like with it.

  How much does this plugin do?

This plugin _only_ creates the theme for you. It doesn’t do anything to the database,
it doesn’t do anything to your new child theme after you’ve created it. It only 
gives you buttons to create a child theme.

  Where can I get some help?

I’d really prefer that you use [Github’s issue tracker](https://github.com/johnpbloch/child-themify/issues/new).
The [WordPress.org support forum for the plugin](https://wordpress.org/support/plugin/child-themify)
will work too, it will just take longer.

## 评价

![](https://secure.gravatar.com/avatar/7b40eba7afdcb0515dff18832c954c709469215f0892c25a4700b82f836ef9b6?
s=60&d=retro&r=g)

### 󠀁[lightweight, fast, perfect](https://wordpress.org/support/topic/lightweight-fast-perfect-2/)󠁿

 [Jesko Bendmann](https://profiles.wordpress.org/skobe/) 2022 年 12 月 20 日

does exactly what it should. lovit.

![](https://secure.gravatar.com/avatar/12e4f0911b641927115bd15cb2c3846e8900eef7be7ab0484784f82abb38ffa8?
s=60&d=retro&r=g)

### 󠀁[Nice!](https://wordpress.org/support/topic/nice-4121/)󠁿

 [Metromas](https://profiles.wordpress.org/metromas/) 2021 年 10 月 16 日

it works very well. and fast.

![](https://secure.gravatar.com/avatar/b294581cb77223d6408cf37d738e15d51279b8f51e443e3a5d3528c1b7fab2d1?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-5354/)󠁿

 [nitromax30](https://profiles.wordpress.org/nitromax30/) 2018 年 8 月 30 日

Es excelente, hace lo que necesito rapidamente, me ayuda cuando no tengo acceso 
al ftp por alguna razon para crear el child theme

![](https://secure.gravatar.com/avatar/8b3903f8e18a0db46932f33e9ba42568e93752c5fb8c12ec771f697247ffd3e9?
s=60&d=retro&r=g)

### 󠀁[Broke my site](https://wordpress.org/support/topic/broke-my-site-144/)󠁿

 [Matt](https://profiles.wordpress.org/britishfilth/) 2018 年 1 月 30 日 3 回复

All I did was activate this nightmare, and my entire site shut down. I had to have
my hosting company disable all my plugins to regain access. Don’t touch it with 
a barge pole.

![](https://secure.gravatar.com/avatar/746f25bce1506cb4220c9bcb94c9e72fa104d66a6c950e0daf67b60df6ad93ee?
s=60&d=retro&r=g)

### 󠀁[Top Class](https://wordpress.org/support/topic/top-class-6/)󠁿

 [gf](https://profiles.wordpress.org/gflwrg/) 2017 年 12 月 9 日

Works brilliantly and easy to use. Love the new feature of creating child files 
from parent. Top class!

![](https://secure.gravatar.com/avatar/7055764a19e2bed71e9d062862b2fc51c678ef0ef5a4173759b5dfaffd28380f?
s=60&d=retro&r=g)

### 󠀁[Great Plugin.. simple and fast](https://wordpress.org/support/topic/great-plugin-simple-and-fast/)󠁿

 [1stclasspaintinganddecorating](https://profiles.wordpress.org/1stclasspaintinganddecorating/)
2017 年 8 月 8 日

Great Plugin.. its so simple to do and fast also ..thank you

 [ 阅读所有43条评价 ](https://wordpress.org/support/plugin/child-themify/reviews/)

## 贡献者及开发者

「Child Themify」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ J B ](https://profiles.wordpress.org/johnpbloch/)

「Child Themify」插件已被翻译至 6 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/child-themify/contributors)
为本插件所做的贡献。

[帮助将「Child Themify」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/child-themify)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/child-themify/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/child-themify/)，或通过[RSS](https://plugins.trac.wordpress.org/log/child-themify/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/child-themify/)。

## 更新日志

#### 2.0.0

 * Released: 2017-10-04
 * Completely rebuilt the interface
 * Added controls to modify the Theme Author value
 * Added controls to select theme files that should get copied into the new theme

#### 1.2.0

 * Released: 2016-10-13
 * The plugin now creates a functions.php file in the new theme

#### 1.1.2

 * Released: 2015-10-13
 * Fixed basename location when loading the textdomain
 * Added textdomain and domainpath headers to plugin file

#### 1.1.1

 * Released: 2015-01-13
 * Added French translation from FR_lucien

#### 1.1.0

 * Released: 2014-12-20
 * Thumbnail now gets copied when you create a child theme
 * Various other tweaks and security hardening

#### 1.0.4

 * Released: 2014-09-15
 * Added support for WordPress 4.0

#### 1.0.3

 * Released: 2014-04-15
 * Standardized theme action links shim. See https://github.com/johnpbloch/child-
   themify/issues/2 for more information
 * Maintenance, code cleanup, bug fixes

#### 1.0.2

 * Released: 2014-01-13
 * Added support for WP 3.8

#### 1.0.1

 * Released: 2013-01-18
 * Add a semicolon to the end of the @import line in the stylesheet. Props to Luis
   Alejandre (wpthemedetector.com) for finding and solving.

#### 1.0

 * Released: 2012-12-31
 * Initial Release

## 额外信息

 *  版本 **2.0.1**
 *  最后更新：**8 年前**
 *  活跃安装数量 **7,000+**
 *  WordPress 版本 ** 4.7.0 或更高版本 **
 *  已测试的最高版本为 **4.8.28**
 *  语言
 * [English (Canada)](https://en-ca.wordpress.org/plugins/child-themify/) 、 [English (US)](https://wordpress.org/plugins/child-themify/)、
   [French (France)](https://fr.wordpress.org/plugins/child-themify/) 、 [Persian](https://fa.wordpress.org/plugins/child-themify/)、
   [Spanish (Argentina)](https://es-ar.wordpress.org/plugins/child-themify/) 、 
   [Spanish (Chile)](https://cl.wordpress.org/plugins/child-themify/) 和 [Spanish (Spain)](https://es.wordpress.org/plugins/child-themify/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/child-themify)
 * 标签
 * [child](https://cn.wordpress.org/plugins/tags/child/)[theme](https://cn.wordpress.org/plugins/tags/theme/)
   [themes](https://cn.wordpress.org/plugins/tags/themes/)
 *  [高级视图](https://cn.wordpress.org/plugins/child-themify/advanced/)

## 评级

 4.2 星（最高 5 星）。

 *  [  31 条 5 星评价     ](https://wordpress.org/support/plugin/child-themify/reviews/?filter=5)
 *  [  3 条 4 星评价     ](https://wordpress.org/support/plugin/child-themify/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/child-themify/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/child-themify/reviews/?filter=2)
 *  [  7 条 1 星评价     ](https://wordpress.org/support/plugin/child-themify/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/child-themify/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/child-themify/reviews/)

## 贡献者

 *   [ J B ](https://profiles.wordpress.org/johnpbloch/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/child-themify/)