WordPress.org

Plugin Directory

Child Theme Configurator

Create child themes and customize styles, templates and functions. Enqueues stylesheets and web fonts. Handles rgba, vendor-prefixes and more.

1.7.5

  • Uses spectrum color picker to support transparency and named colors.
  • Refactored entire system to support fallback values for any property.
  • Fix path when duplicating child theme on first run
  • New Feature: "delete child values" button - easily revert styles in child theme stylesheet

1.7.4.2

  • Will not write child theme stylesheet if error detected in functions.php

1.7.4.1

  • Fixed minified JS

1.7.4

  • Restored multisite admin menu link under Tools by popular demand
  • Automatically Network enables new child theme on creation
  • Fix for FTP notice - now uses PHP_OS constant to detect win vs nix
  • Added duplicate child theme feature

1.7.3

  • 1.7.3.1 added dismiss option to warnings by popular demand.
  • Changed @import tab to "Web Fonts." @import statements are automatically converted to enqueued external links.
  • Added "Enqueue both parent and child stylesheets" option to enable child theme overrides without using @import.
  • Added checks for hard-coded link tags in header template to help resolve incorrect stylesheet load order.
  • Fix: "Enqueue child stylesheet" now passes correct value.

1.7.2.1

  • Fix: hide called before iris init
  • Fix: @import not being written on rebuild/configure
  • Fix: min height on property/value panel
  • Only prune child theme selectors on rename

1.7.1

  • Removed conflicting wistia javascript link

1.7.0

  • New Feature: Enqueue child theme stylesheet option for themes that do not load it.
  • New Feature: Child Theme and Author website, description and tag fields.
  • Fix: Redesigned UI Javascript using jQuery objects for better browser memory management.
  • Fix: Child Theme Stylesheet version is timestamped to force browser reload after changes.

1.6.5.2

  • Fix: Empty functions file created causing inserted markers to be output to browser.
  • Fix: check for closed PHP tag in functions file prior to inserting markers

1.6.5.1

  • Fix: undefined constant LILAEAMEDIA_URL
  • Fix: logic to determine whether to display config notice

1.6.5

  • Fix: incorrect path generation and validation on Windows servers
  • Added error handling and notification to prevent jQuery conflicts and out of memory conditions
  • Fix: removed max-height on property/value overlay
  • Added debug option

1.6.4

  • New Feature: Copy selector button for Raw CSS textarea on Query/Selector tab.
  • Fix: Menus rendering incorrectly for RTL locales
  • Fix: Border-top etc. not being written correctly to stylesheet
  • Fix: Refactored ajax semaphore logic and flow

1.6.3

  • New Feature: Better child theme handling for multisite. Moved interface to Themes menu and check for network enabled.
  • Fix: Restrict child theme configurator access to install_themes capability
  • Fix: Preview links to Themes admin if not network enabled to prevent 'Cheatin, uh?' error.
  • Fix: only users with "install_themes" capability have access to the Child Theme Configurator. This resolves permission issues with both multisite and single site installs. MULTISITE USERS: The Admin HAS MOVED to Network Admin > Themes > Child Themes for better handling for multisite (network) installs.

1.6.2.1

  • Fix: Regular expression introduced in version 1.6.2 parses selectors incorrectly.

1.6.2

  • Fix: replaced wp_normalize_path with class method to support legacy WP versions
  • Fix: support for multiple layered background images
  • Fix: background:none being parsed into gradient origin parameter
  • Fix: support for data URIs
  • Fix: support for *= and ^= notation in selectors

1.6.1

  • Fix: add check if theme uses hard-wired stylesheet link and alert to use @import instead of link option
  • Fix: conflicts with using jQuery UI from CDN - using local version of 1.11.2 Widget/Menu/Selectmenu instead
  • Fix: using wp-color-picker handle instead of iris as dependency to make sure wpColorPicker() methods are loaded
  • Fix: copy parent theme widgets logic is different when child theme is active

1.6.0

  • New Feature: option to load parent stylesheet using wp_enqueue_style (link), @import or none.
  • Thanks to cmwwebfx and Shapeshifter3 for pushing me on this
  • New Feature: automatically-generated slug and name
  • New Feature: restore from backup and reset options
  • New Feature: backup files to "Child Theme Files" on Files Tab so they can be deleted
  • New Feature: Added new theme chooser select menu with screenshot, theme info and link to live preview.
  • Fix: Admin scripts now only load when CTC page is being viewed.
  • Fix: parent CSS preview to correctly display all parsed parent stylesheets in sequence
  • Fix: Refactored throughout for maintainability

1.5.4

  • New Feature: Load imported stylesheets into the CTC admin so web fonts can be previewed.
  • Set preview swatch to z-index -1 to prevent it from covering up the controls
  • Spread config data across multiple option records to prevent out of memory errors with large stylesheets.
  • Do not automatically select Bootstrap CSS files as additional stylesheets to (greatly) reduce overhead.
  • Add jQuery UI styles that are no longer being loaded by default in the WP admin (autoselect menus).

1.5.3

  • Fixed a bug in the way zero values are handled that was breaking css output in certain situations
  • Added regex filter for non-printable (e.g., null) characters in input strings

1.5.2.2

  • Fixed a bug introduced in v1.5.2(.1) that copied all of the parent styles to the child theme stylesheet. This should only be an issue for 'background-image' styles that reference images in the parent theme and do not have child theme overrides.
  • Rolled back changes to the javascript controller that introduced a number of type errors.
  • Tweaked preview ajax call to handle ssl.

1.5.2.1

  • Automatically set additional stylesheets to parse based on parent theme links in head.
  • Render parent CSS including additional stylesheets

1.5.1

  • Added copy option to Parent/Child tab to assign menu locations, sidebars/widgets, custom header, background, and other options to new Child Themes.

1.5.0

  • Refactored CTC to use the WP_Filesystem API.
  • Non suExec configurations will now require user credentials to add, remove or update Child Theme files.
  • Added the ability for you to make the files writable while editing and then make them read-only when you are done.
  • You can also set your credentials in wp-config.php: http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants

1.4.8

  • Removed backreference in main CSS parser regex due to high memory usage.

1.4.7

  • Fixed uninitialized variable in files UI.

1.4.6

  • Feature: export child themes as zip archive
  • Added transform to list of vendor properties
  • Bug fixed: parser not loading multiple instances of same @media rulesets
  • Refactored uploader to use wp core functions for compatibility and security
  • Increased CHLD_THM_CFG_MAX_RECURSE_LOOPS to 1000 to accommodate complex parent frameworks

1.4.5.2

  • Fix: javascript bug

1.4.5.1

  • Fix: regression bug - sanitizing broke raw input selectors

1.4.5

  • Fix: escape quotes in text inputs. This has bugged me for a while now.
  • Fix: Escape backslash for octal content values. Thanks Laurent for reporting this.
  • Fix: Normalize colors to lowercase and short form when possible to prevent duplicate entries in the data

1.4.4

  • Refactored the way CTC caches updates and returns them to the UI controller to reduce memory consumption.
  • Prevent out of memory fatals when generating new child themes.
  • Changed "Scan Parent for Additional Stylesheets" to individual checkbox options for each file with a toggle to show/hide in the Parent/Child tab.
  • Added automatic update of form when Parent Theme is changed.
  • Pre-populate Parent/Child form when parent slug is passed to CTC options.

1.4.3

  • updated parser to match selectors containing parentheses and empty media rulesets

1.4.2

  • Tweaked the Files tab options and added check for DISALLOW_FILE_EDIT
  • Removed automatic @import rules for additional stylesheets that are loaded.
  • Fixed bug caused by new jQuery .css function handling of empty css values (preview swatch).

1.4.0

  • New Feature: Theme Files tab:
  • Copy parent templates to child themes to be edited using the Theme Editor.
  • Remove child theme templates.
  • Upload child theme images.
  • Remove child theme images.
  • Upload child theme screenshot.

1.3.5

  • Fixes a bug with the way the @import data is stored that threw errors on php 5.3 and corrupted v1.3.2 @import data.

1.3.3

  • New Feature: option to scan parent theme for additional stylesheets. This allows CTC to be used with themes such as "Responsive" by CyberChimps.
  • New Feature: automatically copies parent theme screenshot to child.

1.3.2

  • Fixed unquoted regex pattern in file path security check function. Thanks to buzcuz for reporting this.

1.3.1

  • Updated help tab content. Added additional sanitization of source and target file paths.

1.3.0

  • Changed CSS preview to retrieve directly from WordPress Admin instead of remote http GET to prevent caching issues.
  • Added loading icon for CSS preview.
  • Fixed JS type error on backup toggle.
  • Improved extensibility throughout.

1.2.3

  • Replace PHP short tags with standard codes.

1.2.2

  • New Features: You can now rename selectors in place from the Query/Selector panel. Made stylesheet backup optional. Bugs fixed: Incorrect parsing of background position when '0', fixed type error when background image url value is removed.

1.2.1

  • Bugs fixed: "star hack" properties no longer throwing js error. Important flag now works on borders and gradients.

1.2.0

  • New features: Link to Query/Selector tab from specific Property/Value selector, new property focus on adding new property. Bugs fixed: clear Query/Selector inputs when loaded selector is empty, use latest min.js script.

1.1.9

  • Added check for writability before attempting to create child theme files to avoid fatal error on servers not running suEXEC. Fixed a bug in the ctc_update_cache function that was throwing a fatal JS error when new media queries were saved via the Raw CSS input. Configurator now adds functions.php file to child theme when it does not exist.

1.1.8

  • Added reorder sequence and important flag functionality. Fixed bug where multiple inputs with same selector/property combo were assigned the same id. Fixed bug in the shorthand encoding routine.

1.1.7

  • Added tutorial video to help tabs.

1.1.6

  • Added call to reset_updates() before update_option() to prevent serialization errors.

1.1.5

  • Query/Selector panel now defaults to 'base'
  • Fixed bug causing background-image with full urls (http://) to be parsed as gradients
  • Fixed bug causing property menu to throw error when selector has no properties

1.1.4

  • Fixed sort bug in shorthand parser that was returning properties in wrong order

1.1.3

  • Fixed bug that assumed lowercase only for theme slugs. (Thanks to timk)
  • Fixed update redirect to execute on first run

1.1.2

  • Small bug fix to javascript (casting number to string)

1.1.1

  • Fixed major bug where inputs containing '0' were being ignored
  • Removed "no leading digits" requirement for theme slug
  • Change query sort function to keep parent order of queries without device width rules
  • Fixed gettext calls to use static namespace parameter
  • Auto populate child theme inputs when existing theme is selected
  • Correctly remove border when values are blanked
  • Fixed duplicate "new property" bug on Query/Selector panel
  • added timestamp to backup file
  • Added encode_shorthand function to recombine margin/padding values when all 4 sides are present

1.1.0

  • Corrected parsing for certain backgrounds and gradients (e.g., supports hsla color syntax)
  • Handle empty selectors
  • Ajax load for menus and updates
  • Clean up Parent/Child form UI and validation
  • Streamlined UI overall

1.0.0

  • Initial release.

Requires: 3.9 or higher
Compatible up to: 4.3
Last Updated: 2015-6-27
Active Installs: 40,000+

Ratings

4.9 out of 5 stars

Support

11 of 11 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,2,2
0,1,0 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,3,3 100,1,1
100,1,1
100,3,3