=== Childify Me === Contributors: d4z_c0nf Author URI: https://github.com/eri-trabiccolo/ Plugin URI: https://github.com/eri-trabiccolo/childify-me Tags: child theme, child-themes, childtheme, childthemes, custom theme, custom themeing, parent theme, child theme creator, child theme generator, child, theme, themes Requires at least: 3.4 Tested up to: 6.7 Stable tag: 1.3.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Create a child-theme from the Theme Customizer. == Description == **Create child themes from any non-child theme directly from the Theme Customizer panel.** Works also when previewing a theme before activation! Multisite compatible. = Plugin Features = FTP credential requests handled in the Customizer. **Child-theme's screenshot generated** from the parent screenshot, with a ribbon dynamically added. Child-theme's author dynamically generated from the user Name and Last Name, if set, otherwise falls back on a generic "Administrator". = Credits = * Thanks to [@nikeo](http://presscustomizr.com) for spurring me, testing my plugin and for his valuable advices * Thanks to [@rdellconsulting](http://www.rdellconsulting.com) for testing my plugin even on multisite and for his valuable advices = Translations = The plugin is [translation ready](https://make.wordpress.org/polyglots/handbook/). Most of the previously bundled Childify Me translations (see the list below) have been succesfully ported to [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/childify-me). * German ( by [@presskopp](https://profiles.wordpress.org/presskopp/) ) * Portuguese ( by [@wph4](http://h4bs.com/) ) * Dutch ( by [@wph4](http://h4bs.com/) ) Childify Me also bundles the following languages (.pot file included in childify-me/lang): * Russian ( by [@baneff](https://wordpress.org/support/profile/baneff) ) * Ukrainian ( by [@baneff](https://wordpress.org/support/profile/baneff) ) * Hebrew ( by [@JTS-IL](http://www.glezer.co.il) ) **Many thanks to these generous users :)** == Installation == 1. Install the plugin right from your WordPress admin in plugins > Add New. 1-bis. Download the plugin, unzip the package and upload it to your /wp-content/plugins/ directory 2. Activate the plugin 3. Go to Appearance -> Customize and you'll see the "Childify Me" button. 3-bis. In Appearance -> Themes, hover on a non-child theme and click on Live Preview, once there you'll see the "Childify Me" button == Frequently Asked Questions == = I'm in Appearance -> Customize but I cannot find the "Childify Me" button, why? = Is your theme a non-child theme? Childify Me is designed to make child themes only for non-child themes. = I created a child theme from Preview, but when I back to Appearance -> Themes I cannot see it, why? = Please, refresh the page. = How can I create a child-theme in multisite? = Go to Appearance -> Customize (or to Appearance -> Themes, if you want to create a child-theme of a non-active theme, hover on a non-child theme and click on Live Preview) = I created a child-theme but I lost my menu, how so? = This is because some options aren't really part of the theme options. Basically you can consider them as options related to theme. WordPress saves them in a different db row of the wp-options table. From the Codex: http://codex.wordpress.org/Child_Themes **Note:** You may need to re-save your menu (Appearance > Menus, or Appearance > Customize > Menus) and theme options (including background and header images) after activating the child theme. = Why my child-theme's screenshot doesn't have the ribbon? = That feature is implemented using some functions of the PHP GD module. So you need a PHP version >= 4.0 and the GD module installed and loaded. = Why for some themes the child-theme style.css uses the @import directive ? = Please read [this](https://wordpress.org/support/topic/needs-update-12/) topic == Screenshots == 1. Childify Me creating a child-theme of Customizr-Pro's from the Customizer 2. Childify Me asking for ftp credentials (if you don't have direct access to the filesystem) 3. Childify Me succesfully created your child-theme - Yor child-theme in Appearance -> Themes 4. Childify Me in multisite environment creating a child-theme of Twenty Twelve's from Live Preview == Changelog == = 1.3.0: November 28, 2024 = * Tested against WordPress 6.7.1 * Replaced childify-me badge with a smaller image * Fixed localized strings split in chunks * Always show up the Customize button under the Appearance menu = 1.2.3 : July 20, 2021 = * Code clean-up = 1.2.2 : November 27, 2020 = * fix buttons css = 1.2.1 : February 20, 2020 = * capitalPdangit(readme.txt) * bump Tested up to = 1.2.0 : July 24, 2018 = * Imp: improve WP PHPcs * Imp: autodetect parent screenshot size * Imp: create child screenshot png also from parent jpeg files * Imp: improve javascript * Imp: improve child badge * Rm: remove translations already hosted on wp.org = 1.1.1 : September 20, 2017 = * Imp: add hueman-pro as special theme = 1.1.0 : June 08, 2017 = * Imp: generated screenshot size now follows latest wp recommandations * Fix: cm container was partially visible in the new open custom css box = 1.0.15 : May 12, 2016 = * Imp: Add domainpath and textdomain to the plugin header = 1.0.14 : May 06, 2016 = * Add: Improved child-theme creation for Hueman theme * Imp: small css fixes * Imp: restrict plugin scope to is_admin() == true * Upd: update Tested up to WordPress version version 4.5.1 = 1.0.13 : Nov 26, 2015 = * Add: Fix rtl CSS: Many thanks to Yaacov Glezer * Upd: update Tested up to WordPress version version 4.4 = 1.0.11 : Sep 08, 2015 = * Add: Hebrew translation: Many thanks to Yaacov Glezer = 1.0.10 : May 07, 2015 = * Fix: readme typo = 1.0.9 : May 06, 2015 = * Add: added Portuguese and Dutch translations: Many thanks to @wph4 = 1.0.8 : April 21, 2015 = * Fix: minor css fix to radio buttons = 1.0.7 : March 26, 2015 = * Fix: fix css according to some Customizr theme css in the customize = 1.0.6 : March 22, 2015 = * Add: added Russian and Ukrainian translations. Many thanks to @baneff = 1.0.5 : February 08, 2015 = * Fix: for security reasons, fallback on generic "Administrator" if no user Name and Last name are set * Fix: translations updated = 1.0.4 : February 02, 2015 = * Fix: fix typo while creating child-theme screenshot.png = 1.0.3 : February 02, 2015 = * Fix: handle parent 8 bit colormap screenshot.png = 1.0.2 : January 19, 2015 = * Fix: cancel button bug, css form padding = 1.0.1 : January 19, 2015 = * Fix: improve compatibility with PHP versions < 3.5.3 * Fix: css, change some padding = 1.0.0 : January 03, 2015 = * First offical release!