這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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. Activate the plugin through the ‘Plugins’ menu in 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. Activate the plugin through the ‘Plugins’ menu in 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 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. The WordPress.org support forum for the plugin will work too, it will just take longer.

使用者評論

2021 年 10 月 16 日
it works very well. and fast.
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
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.
2017 年 12 月 9 日
Works brilliantly and easy to use. Love the new feature of creating child files from parent. Top class!
閱讀全部 43 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Child Themify〉的開發相關工作。

參與者

〈Child Themify〉外掛目前已有 5 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Child Themify〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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