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!

  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.

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
نسخه حجم فایل SHA256 تغییرات دانلود
2.0.1 119 کیلوبایت -
دانلود
×
★★★★★
★★★★★
4.2 /5 (42 نظر)

قیمت:

رایگان

نگارش

2.0.1

آخرین انتشار

11 اردیبهشت 1405

آخرین بروزرسانی

4 ماه پیش

نصب های فعال

7,000+

نگارش وردپرس

وردپرس 4.7.0+

تست شده از نسخه

وردپرس 4.8.28

نگارش PHP

-

تگ ها

نسخه ها

1 نسخه