Version Description
- Added copy option to Parent/Child tab to assign menu locations, sidebars/widgets, custom header, background, and other options to the new Child Theme.
Download this release
Release Info
Developer | lilaeamedia |
Plugin | Child Theme Configurator |
Version | 1.5.1 |
Comparing to | |
See all releases |
Code changes from version 1.5.0 to 1.5.1
- child-theme-configurator.php +2 -2
- includes/class-ctc-css.php +3 -3
- includes/class-ctc-ui.php +17 -4
- includes/class-ctc.php +6 -1
- js/chld-thm-cfg.js +1 -1
- lang/chld_thm_cfg.pot +116 -99
- readme.txt +58 -19
- screenshot-1.jpg +0 -0
child-theme-configurator.php
CHANGED
@@ -6,7 +6,7 @@ if ( !defined('ABSPATH')) exit;
|
|
6 |
Plugin Name: Child Theme Configurator
|
7 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
8 |
Description: Create a Child Theme from any installed Theme. Each CSS selector, rule and value can then be searched, previewed and modified.
|
9 |
-
Version: 1.5.
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
@@ -16,7 +16,7 @@ if ( !defined('ABSPATH')) exit;
|
|
16 |
*/
|
17 |
|
18 |
defined('LF') or define('LF', "\n");
|
19 |
-
define('CHLD_THM_CFG_VERSION', '1.5.
|
20 |
define('CHLD_THM_CFG_MAX_SELECTORS', '50000');
|
21 |
define('CHLD_THM_CFG_MAX_RECURSE_LOOPS', '1000');
|
22 |
|
6 |
Plugin Name: Child Theme Configurator
|
7 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
8 |
Description: Create a Child Theme from any installed Theme. Each CSS selector, rule and value can then be searched, previewed and modified.
|
9 |
+
Version: 1.5.1
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
16 |
*/
|
17 |
|
18 |
defined('LF') or define('LF', "\n");
|
19 |
+
define('CHLD_THM_CFG_VERSION', '1.5.1');
|
20 |
define('CHLD_THM_CFG_MAX_SELECTORS', '50000');
|
21 |
define('CHLD_THM_CFG_MAX_RECURSE_LOOPS', '1000');
|
22 |
|
includes/class-ctc-css.php
CHANGED
@@ -6,7 +6,7 @@ if ( !defined('ABSPATH')) exit;
|
|
6 |
Class: Child_Theme_Configurator_CSS
|
7 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
8 |
Description: Handles all CSS output, parsing, normalization
|
9 |
-
Version: 1.5.
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
@@ -45,7 +45,7 @@ class Child_Theme_Configurator_CSS {
|
|
45 |
|
46 |
function __construct($parent = '') {
|
47 |
// scalars
|
48 |
-
$this->version = '1.5.
|
49 |
$this->querykey = 0;
|
50 |
$this->selkey = 0;
|
51 |
$this->qskey = 0;
|
@@ -465,7 +465,7 @@ class Child_Theme_Configurator_CSS {
|
|
465 |
foreach (array(
|
466 |
'#(\@media[^\{]+?)\{(\s*?)\}#', // get an placehoder (empty) media queries
|
467 |
'#(\@media[^\{]+?)\{(.*?\})?\s*?\}#s', // get all other media queries
|
468 |
-
) as $regex): // (((?!\@media).)
|
469 |
preg_match_all($regex, $this->styles, $matches);
|
470 |
foreach ($matches[1] as $segment):
|
471 |
$ruleset[trim($segment)] = array_shift($matches[2]) . (isset($ruleset[trim($segment)])?$ruleset[trim($segment)]:'');
|
6 |
Class: Child_Theme_Configurator_CSS
|
7 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
8 |
Description: Handles all CSS output, parsing, normalization
|
9 |
+
Version: 1.5.1
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
45 |
|
46 |
function __construct($parent = '') {
|
47 |
// scalars
|
48 |
+
$this->version = '1.5.1';
|
49 |
$this->querykey = 0;
|
50 |
$this->selkey = 0;
|
51 |
$this->qskey = 0;
|
465 |
foreach (array(
|
466 |
'#(\@media[^\{]+?)\{(\s*?)\}#', // get an placehoder (empty) media queries
|
467 |
'#(\@media[^\{]+?)\{(.*?\})?\s*?\}#s', // get all other media queries
|
468 |
+
) as $regex): // (((?!\@media).) backreference too memory intensive - rolled back in v 1.4.8.1
|
469 |
preg_match_all($regex, $this->styles, $matches);
|
470 |
foreach ($matches[1] as $segment):
|
471 |
$ruleset[trim($segment)] = array_shift($matches[2]) . (isset($ruleset[trim($segment)])?$ruleset[trim($segment)]:'');
|
includes/class-ctc-ui.php
CHANGED
@@ -5,7 +5,7 @@ if ( !defined('ABSPATH')) exit;
|
|
5 |
Class: Child_Theme_Configurator_UI
|
6 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
7 |
Description: Handles the plugin User Interface
|
8 |
-
Version: 1.5.
|
9 |
Author: Lilaea Media
|
10 |
Author URI: http://www.lilaeamedia.com/
|
11 |
Text Domain: chld_thm_cfg
|
@@ -155,7 +155,18 @@ class Child_Theme_Configurator_UI {
|
|
155 |
</div>
|
156 |
<div class="ctc-input-row clearfix" id="input_row_child_template">
|
157 |
<div class="ctc-input-cell"> <strong>
|
158 |
-
<?php _e('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
</strong> </div>
|
160 |
<div class="ctc-input-cell">
|
161 |
<input class="ctc_checkbox" id="ctc_backup" name="ctc_backup" type="checkbox"
|
@@ -638,9 +649,11 @@ class Child_Theme_Configurator_UI {
|
|
638 |
<li>Enter a Name for the child theme.</li>
|
639 |
<li>Enter an author for the child theme.</li>
|
640 |
<li>Enter the child theme version number.</li>
|
641 |
-
<li>
|
|
|
642 |
<li>If your theme uses additional stylesheets they will appear as checkbox options when you open the toggle arrow. Select only the stylesheets you wish to customize to reduce overhead. Remember to select them again if you reload your configuration.</li>
|
643 |
-
<li>Click "Generate Child Theme."</li
|
|
|
644 |
', 'chld_thm_cfg'
|
645 |
),
|
646 |
) );
|
5 |
Class: Child_Theme_Configurator_UI
|
6 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
7 |
Description: Handles the plugin User Interface
|
8 |
+
Version: 1.5.1
|
9 |
Author: Lilaea Media
|
10 |
Author URI: http://www.lilaeamedia.com/
|
11 |
Text Domain: chld_thm_cfg
|
155 |
</div>
|
156 |
<div class="ctc-input-row clearfix" id="input_row_child_template">
|
157 |
<div class="ctc-input-cell"> <strong>
|
158 |
+
<?php _e('Copy Parent Theme Menus, Widgets and other Options', 'chld_thm_cfg'); ?>
|
159 |
+
</strong>
|
160 |
+
<p><?php _e('NOTE: This will overwrite existing child theme options.', 'chld_thm_cfg'); ?></p>
|
161 |
+
</div>
|
162 |
+
<div class="ctc-input-cell">
|
163 |
+
<input class="ctc_checkbox" id="ctc_parent_mods" name="ctc_parent_mods" type="checkbox"
|
164 |
+
value="1" />
|
165 |
+
</div>
|
166 |
+
</div>
|
167 |
+
<div class="ctc-input-row clearfix" id="input_row_child_template">
|
168 |
+
<div class="ctc-input-cell"> <strong>
|
169 |
+
<?php _e('Backup Child Stylesheet', 'chld_thm_cfg'); ?>
|
170 |
</strong> </div>
|
171 |
<div class="ctc-input-cell">
|
172 |
<input class="ctc_checkbox" id="ctc_backup" name="ctc_backup" type="checkbox"
|
649 |
<li>Enter a Name for the child theme.</li>
|
650 |
<li>Enter an author for the child theme.</li>
|
651 |
<li>Enter the child theme version number.</li>
|
652 |
+
<li>Check "Copy Parent Theme Menus, Widgets and other Options", to copy parent theme modifications to the child theme. Depending on the theme, some options may need to be applied using separate theme option controls. <strong>IMPORTANT: This will overwrite existing child theme options.</strong></li>
|
653 |
+
<li>Check "Backup Stylesheet", to create a backup of the child theme stylesheet in the child theme directory.</li>
|
654 |
<li>If your theme uses additional stylesheets they will appear as checkbox options when you open the toggle arrow. Select only the stylesheets you wish to customize to reduce overhead. Remember to select them again if you reload your configuration.</li>
|
655 |
+
<li>Click "Generate Child Theme."</li>
|
656 |
+
<li><strong>ALWAYS <a target="_blank" href="http://www.lilaeamedia.com/plugins/child-theme-configurator/#preview_activate" title="Test your child theme before activating!">TEST YOUR CHILD THEME</a> BEFORE ACTIVATING!</strong></li></ol>
|
657 |
', 'chld_thm_cfg'
|
658 |
),
|
659 |
) );
|
includes/class-ctc.php
CHANGED
@@ -6,7 +6,7 @@ if ( !defined('ABSPATH')) exit;
|
|
6 |
Class: Child_Theme_Configurator
|
7 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
8 |
Description: Main Controller Class
|
9 |
-
Version: 1.5.
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
@@ -324,6 +324,11 @@ class Child_Theme_Configurator {
|
|
324 |
add_action('admin_notices', array($this, 'writable_notice'));
|
325 |
return FALSE;
|
326 |
endif;
|
|
|
|
|
|
|
|
|
|
|
327 |
update_option($this->optionsName, $this->css);
|
328 |
do_action('chld_thm_cfg_addl_options', $this); // hook for add'l plugin options
|
329 |
$msg = 1; //isset($_POST['ctc_scan_subdirs']) ? '9&tab=import_options' : 1;
|
6 |
Class: Child_Theme_Configurator
|
7 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
8 |
Description: Main Controller Class
|
9 |
+
Version: 1.5.1
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
324 |
add_action('admin_notices', array($this, 'writable_notice'));
|
325 |
return FALSE;
|
326 |
endif;
|
327 |
+
|
328 |
+
// copy parent theme mods
|
329 |
+
if (isset($_POST['ctc_parent_mods']) && ($parent_mods = get_option('theme_mods_' . $parnt))):
|
330 |
+
update_option('theme_mods_' . $child, $parent_mods);
|
331 |
+
endif;
|
332 |
update_option($this->optionsName, $this->css);
|
333 |
do_action('chld_thm_cfg_addl_options', $this); // hook for add'l plugin options
|
334 |
$msg = 1; //isset($_POST['ctc_scan_subdirs']) ? '9&tab=import_options' : 1;
|
js/chld-thm-cfg.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
* Script: chld-thm-cfg.js
|
3 |
* Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
4 |
* Description: Handles jQuery, AJAX and other UI
|
5 |
-
* Version: 1.5.
|
6 |
* Author: Lilaea Media
|
7 |
* Author URI: http://www.lilaeamedia.com/
|
8 |
* License: GPLv2
|
2 |
* Script: chld-thm-cfg.js
|
3 |
* Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
4 |
* Description: Handles jQuery, AJAX and other UI
|
5 |
+
* Version: 1.5.1
|
6 |
* Author: Lilaea Media
|
7 |
* Author URI: http://www.lilaeamedia.com/
|
8 |
* License: GPLv2
|
lang/chld_thm_cfg.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Child Theme Configurator package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Child Theme Configurator 1.5.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/child-theme-configurator\n"
|
7 |
-
"POT-Creation-Date: 2014-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -20,11 +20,11 @@ msgstr ""
|
|
20 |
msgid "Parent/Child"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: includes/class-ctc-ui.php:57 includes/class-ctc-ui.php:
|
24 |
msgid "Query/Selector"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: includes/class-ctc-ui.php:60 includes/class-ctc-ui.php:
|
28 |
msgid "Rule/Value"
|
29 |
msgstr ""
|
30 |
|
@@ -40,7 +40,7 @@ msgstr ""
|
|
40 |
msgid "Parent CSS"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: includes/class-ctc-ui.php:76 includes/class-ctc-ui.php:
|
44 |
msgid "Files"
|
45 |
msgstr ""
|
46 |
|
@@ -81,219 +81,227 @@ msgid "Version"
|
|
81 |
msgstr ""
|
82 |
|
83 |
#: includes/class-ctc-ui.php:158
|
84 |
-
msgid "
|
|
|
|
|
|
|
|
|
85 |
msgstr ""
|
86 |
|
87 |
#: includes/class-ctc-ui.php:169
|
|
|
|
|
|
|
|
|
88 |
msgid "Parse additional stylesheets:"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: includes/class-ctc-ui.php:
|
92 |
msgid "(click to toggle)"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: includes/class-ctc-ui.php:
|
96 |
msgid "Select only the stylesheets you wish to customize to reduce overhead."
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: includes/class-ctc-ui.php:
|
100 |
msgid "Generate Child Theme Files"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: includes/class-ctc-ui.php:
|
104 |
msgid "Rule"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: includes/class-ctc-ui.php:
|
108 |
msgid "Value"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: includes/class-ctc-ui.php:
|
112 |
#: includes/class-ctc.php:117
|
113 |
msgid "Sample"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: includes/class-ctc-ui.php:
|
117 |
msgid "Selectors"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: includes/class-ctc-ui.php:
|
121 |
msgid "Query"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: includes/class-ctc-ui.php:
|
125 |
msgid "Selector"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: includes/class-ctc-ui.php:
|
129 |
-
#: includes/class-ctc-ui.php:
|
130 |
msgid "Save"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: includes/class-ctc-ui.php:
|
134 |
msgid "Parent Value"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: includes/class-ctc-ui.php:
|
138 |
msgid "Child Value"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: includes/class-ctc-ui.php:
|
142 |
msgid "New Rule"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: includes/class-ctc-ui.php:
|
146 |
msgid "Order"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: includes/class-ctc-ui.php:
|
150 |
msgid "Raw CSS"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: includes/class-ctc-ui.php:
|
154 |
msgid "@import Statements"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: includes/class-ctc-ui.php:
|
158 |
msgid "Upload New Child Theme Image"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: includes/class-ctc-ui.php:
|
162 |
msgid ""
|
163 |
"Theme images reside under the <code>images</code> directory in your child "
|
164 |
"theme and are meant for stylesheet use only. Use the Media Library for "
|
165 |
"content images."
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: includes/class-ctc-ui.php:
|
169 |
msgid "Upload"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: includes/class-ctc-ui.php:
|
173 |
msgid "Child Theme Screenshot"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: includes/class-ctc-ui.php:
|
177 |
msgid "Upload New Screenshot"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: includes/class-ctc-ui.php:
|
181 |
msgid ""
|
182 |
"The theme screenshot should be a 4:3 ratio (e.g., 880px x 660px) JPG, PNG or "
|
183 |
"GIF. It will be renamed <code>screenshot</code>."
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: includes/class-ctc-ui.php:
|
187 |
msgid "Export Child Theme as Zip Archive"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: includes/class-ctc-ui.php:
|
191 |
msgid "Export"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: includes/class-ctc-ui.php:
|
195 |
msgid "Secure Child Theme"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: includes/class-ctc-ui.php:
|
199 |
msgid ""
|
200 |
"Attempt to reset child theme permissions to user ownership and read-only "
|
201 |
"access."
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: includes/class-ctc-ui.php:
|
205 |
msgid "Make read-only"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: includes/class-ctc-ui.php:
|
209 |
msgid "Click here to edit template files using the Theme Editor"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: includes/class-ctc-ui.php:
|
213 |
msgid ""
|
214 |
"The Theme editor has been disabled. Template files must be edited offline."
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: includes/class-ctc-ui.php:
|
218 |
msgid "Copy PHP template files from the parent theme by selecting them here."
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: includes/class-ctc-ui.php:
|
222 |
msgid ""
|
223 |
"CAUTION: If your child theme is active, the child theme version of the file "
|
224 |
"will be used instead of the parent immediately after it is copied."
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: includes/class-ctc-ui.php:
|
228 |
msgid "The %s file is generated separately and cannot be copied here."
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: includes/class-ctc-ui.php:
|
232 |
msgid "Delete child theme templates by selecting them here."
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: includes/class-ctc-ui.php:
|
236 |
msgid ""
|
237 |
"Delete child theme templates or make them writable by selecting them here. "
|
238 |
"Writable files are displayed in <span style=\"color:red\">red</span>."
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: includes/class-ctc-ui.php:
|
242 |
msgid "Make Selected Writable"
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: includes/class-ctc-ui.php:
|
246 |
msgid "Copy Selected to Child Theme"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: includes/class-ctc-ui.php:
|
250 |
msgid "Delete Selected"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: includes/class-ctc-ui.php:
|
254 |
msgid "Child Theme Images"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: includes/class-ctc-ui.php:
|
258 |
msgid "Remove child theme images by selecting them here."
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: includes/class-ctc-ui.php:
|
262 |
msgid "Remove Selected"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: includes/class-ctc-ui.php:
|
266 |
msgid "Child Theme files modified successfully."
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: includes/class-ctc-ui.php:
|
270 |
msgid ""
|
271 |
"Child Theme <strong>%s</strong> has been generated successfully.\n"
|
272 |
" "
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: includes/class-ctc-ui.php:
|
276 |
msgid ""
|
277 |
"Please verify the imports below and remove any imports that are not needed "
|
278 |
"by the front end, such as admin or configuration stylesheets."
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: includes/class-ctc-ui.php:
|
282 |
msgid "Tutorial Video"
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: includes/class-ctc-ui.php:
|
286 |
msgid ""
|
287 |
"<iframe width=\"480\" height=\"270\" src=\"//www.youtube.com/embed/"
|
288 |
"xL2HkWQxgOA?rel=0&modestbranding=1\" frameborder=\"0\" allowfullscreen></"
|
289 |
"iframe>"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: includes/class-ctc-ui.php:
|
293 |
msgid "Start Here"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: includes/class-ctc-ui.php:
|
297 |
msgid ""
|
298 |
"\n"
|
299 |
"<p>The first step is to create a child theme and import your parent theme "
|
@@ -308,17 +316,26 @@ msgid ""
|
|
308 |
"<li>Enter a Name for the child theme.</li>\n"
|
309 |
"<li>Enter an author for the child theme.</li>\n"
|
310 |
"<li>Enter the child theme version number.</li>\n"
|
311 |
-
"<li>
|
312 |
-
"
|
|
|
|
|
|
|
|
|
|
|
313 |
"<li>If your theme uses additional stylesheets they will appear as checkbox "
|
314 |
"options when you open the toggle arrow. Select only the stylesheets you wish "
|
315 |
"to customize to reduce overhead. Remember to select them again if you reload "
|
316 |
"your configuration.</li>\n"
|
317 |
-
"<li>Click \"Generate Child Theme.\"</li
|
|
|
|
|
|
|
|
|
318 |
"\t\t\t\t "
|
319 |
msgstr ""
|
320 |
|
321 |
-
#: includes/class-ctc-ui.php:
|
322 |
msgid ""
|
323 |
"\n"
|
324 |
"<p>There are two ways to identify and override parent styles. The Child "
|
@@ -351,7 +368,7 @@ msgid ""
|
|
351 |
"\t\t\t\t "
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: includes/class-ctc-ui.php:
|
355 |
msgid ""
|
356 |
"\n"
|
357 |
"<p>There are two ways to identify and override parent styles. The Child "
|
@@ -378,11 +395,11 @@ msgid ""
|
|
378 |
"\t\t\t\t "
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: includes/class-ctc-ui.php:
|
382 |
msgid "Add New Styles"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: includes/class-ctc-ui.php:
|
386 |
msgid ""
|
387 |
"\n"
|
388 |
"<p>If you wish to add additional rules to a given selector, first load the "
|
@@ -402,11 +419,11 @@ msgid ""
|
|
402 |
"\t\t\t\t "
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: includes/class-ctc-ui.php:
|
406 |
msgid "@imports and Web Fonts"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: includes/class-ctc-ui.php:
|
410 |
msgid ""
|
411 |
"\n"
|
412 |
"<p>You can add additional stylesheets and web fonts by typing @import rules "
|
@@ -424,7 +441,7 @@ msgid ""
|
|
424 |
"\t\t\t\t "
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: includes/class-ctc-ui.php:
|
428 |
msgid ""
|
429 |
"\n"
|
430 |
"<h5>Parent Templates</h5><p>Copy PHP template files from the parent theme by "
|
@@ -450,11 +467,11 @@ msgid ""
|
|
450 |
"\t\t\t\t "
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: includes/class-ctc-ui.php:
|
454 |
msgid "Preview and Activate"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: includes/class-ctc-ui.php:
|
458 |
msgid ""
|
459 |
"<p><strong>IMPORTANT: <a target=\"_blank\" href=\"http://www.lilaeamedia.com/"
|
460 |
"plugins/child-theme-configurator/#preview_activate\" title=\"Test your child "
|
@@ -475,11 +492,11 @@ msgid ""
|
|
475 |
"\t\t\t\t "
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: includes/class-ctc-ui.php:
|
479 |
msgid "File Permissions"
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: includes/class-ctc-ui.php:
|
483 |
msgid ""
|
484 |
"\n"
|
485 |
"<p>WordPress was designed to work on a number of server configurations. "
|
@@ -499,11 +516,11 @@ msgid ""
|
|
499 |
"\t\t\t\t "
|
500 |
msgstr ""
|
501 |
|
502 |
-
#: includes/class-ctc-ui.php:
|
503 |
msgid "FAQs"
|
504 |
msgstr ""
|
505 |
|
506 |
-
#: includes/class-ctc-ui.php:
|
507 |
msgid ""
|
508 |
"\n"
|
509 |
"<h5>Does it work with Plugins?</h5>\n"
|
@@ -612,11 +629,11 @@ msgid ""
|
|
612 |
" "
|
613 |
msgstr ""
|
614 |
|
615 |
-
#: includes/class-ctc-ui.php:
|
616 |
msgid "Glossary"
|
617 |
msgstr ""
|
618 |
|
619 |
-
#: includes/class-ctc-ui.php:
|
620 |
msgid ""
|
621 |
"\n"
|
622 |
"<h3 id=\"terms\">Glossary</h3>\n"
|
@@ -656,31 +673,31 @@ msgid ""
|
|
656 |
"\t\t\t\t "
|
657 |
msgstr ""
|
658 |
|
659 |
-
#: includes/class-ctc-ui.php:
|
660 |
msgid "Contact us"
|
661 |
msgstr ""
|
662 |
|
663 |
-
#: includes/class-ctc-ui.php:
|
664 |
msgid "Plugin Website"
|
665 |
msgstr ""
|
666 |
|
667 |
-
#: includes/class-ctc-ui.php:
|
668 |
msgid "Donate"
|
669 |
msgstr ""
|
670 |
|
671 |
-
#: includes/class-ctc-ui.php:
|
672 |
msgid "Give Us 5 Stars"
|
673 |
msgstr ""
|
674 |
|
675 |
-
#: includes/class-ctc-ui.php:
|
676 |
msgid "WordPress Codex"
|
677 |
msgstr ""
|
678 |
|
679 |
-
#: includes/class-ctc-ui.php:
|
680 |
msgid "WordPress Answers"
|
681 |
msgstr ""
|
682 |
|
683 |
-
#. #-#-#-#-# chld_thm_cfg.pot (Child Theme Configurator 1.5.
|
684 |
#. Plugin Name of the plugin/theme
|
685 |
#: includes/class-ctc.php:50
|
686 |
msgid "Child Theme Configurator"
|
@@ -754,7 +771,7 @@ msgstr ""
|
|
754 |
msgid "Please enter a valid Child Theme"
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: includes/class-ctc.php:127 includes/class-ctc.php:
|
758 |
msgid "Please enter a valid Child Theme name"
|
759 |
msgstr ""
|
760 |
|
@@ -766,29 +783,29 @@ msgstr ""
|
|
766 |
msgid "Zip file creation failed."
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: includes/class-ctc.php:
|
770 |
msgid "%s does not exist. Please select a valid Parent Theme"
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: includes/class-ctc.php:
|
774 |
msgid "Please select a valid Parent Theme"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: includes/class-ctc.php:
|
778 |
msgid "Please enter a valid Child Theme template name"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: includes/class-ctc.php:
|
782 |
msgid ""
|
783 |
"<strong>%s</strong> exists. Please enter a different Child Theme template "
|
784 |
"name"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: includes/class-ctc.php:
|
788 |
msgid "Your theme directories are not writable."
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: includes/class-ctc.php:
|
792 |
msgid "Your stylesheet is not writable."
|
793 |
msgstr ""
|
794 |
|
@@ -796,47 +813,47 @@ msgstr ""
|
|
796 |
msgid "You do not have permission to configure child themes."
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: includes/class-ctc.php:
|
800 |
msgid "Could not copy file."
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: includes/class-ctc.php:
|
804 |
msgid "Could not set write permissions."
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: includes/class-ctc.php:
|
808 |
msgid "There were errors while resetting permissions."
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: includes/class-ctc.php:
|
812 |
msgid "Could not upload file."
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: includes/class-ctc.php:
|
816 |
msgid ""
|
817 |
"Child Theme Configurator is unable to write to the stylesheet. This can be "
|
818 |
"resolved using one of the following options:<ol>"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: includes/class-ctc.php:
|
822 |
msgid ""
|
823 |
"<li>Temporarily make the stylesheet writable by clicking the button below. "
|
824 |
"You should change this back when you are finished editing for security by "
|
825 |
"clicking \"Make read-only\" under the \"Files\" tab.</li>"
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: includes/class-ctc.php:
|
829 |
msgid "Temporarily make stylesheet writable"
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: includes/class-ctc.php:
|
833 |
msgid ""
|
834 |
"<li><a target=\"_blank\" href=\"http://codex.wordpress.org/Editing_wp-"
|
835 |
"config.php#WordPress_Upgrade_Constants\" title=\"Editin wp-config.php\">Add "
|
836 |
"your FTP/SSH credentials to the WordPress config file</a>.</li>"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: includes/class-ctc.php:
|
840 |
msgid ""
|
841 |
"<li><a target=\"_blank\" href=\"http://technet.microsoft.com/en-us/library/"
|
842 |
"cc771170\" title=\"Setting Application Pool Identity\">Assign WordPress to "
|
@@ -844,7 +861,7 @@ msgid ""
|
|
844 |
"li>"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: includes/class-ctc.php:
|
848 |
msgid ""
|
849 |
"<li><a target=\"_blank\" href=\"http://codex.wordpress.org/"
|
850 |
"Changing_File_Permissions\" title=\"Changing File Permissions\">Set the "
|
@@ -852,11 +869,11 @@ msgid ""
|
|
852 |
"li>"
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: includes/class-ctc.php:
|
856 |
msgid "<li>Run PHP under Apache with suEXEC (contact your web host).</li>"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: includes/class-ctc.php:
|
860 |
msgid ""
|
861 |
"This Child Theme is not owned by your website account. It may have been "
|
862 |
"created by a prior version of this plugin or by another program. Moving "
|
@@ -865,7 +882,7 @@ msgid ""
|
|
865 |
"below."
|
866 |
msgstr ""
|
867 |
|
868 |
-
#: includes/class-ctc.php:
|
869 |
msgid "Correct Child Theme Permissions"
|
870 |
msgstr ""
|
871 |
|
2 |
# This file is distributed under the same license as the Child Theme Configurator package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Child Theme Configurator 1.5.1\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/child-theme-configurator\n"
|
7 |
+
"POT-Creation-Date: 2014-10-02 04:17:38+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
20 |
msgid "Parent/Child"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: includes/class-ctc-ui.php:57 includes/class-ctc-ui.php:663
|
24 |
msgid "Query/Selector"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: includes/class-ctc-ui.php:60 includes/class-ctc-ui.php:677
|
28 |
msgid "Rule/Value"
|
29 |
msgstr ""
|
30 |
|
40 |
msgid "Parent CSS"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: includes/class-ctc-ui.php:76 includes/class-ctc-ui.php:715
|
44 |
msgid "Files"
|
45 |
msgstr ""
|
46 |
|
81 |
msgstr ""
|
82 |
|
83 |
#: includes/class-ctc-ui.php:158
|
84 |
+
msgid "Copy Parent Theme Menus, Widgets and other Options"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: includes/class-ctc-ui.php:160
|
88 |
+
msgid "NOTE: This will overwrite existing child theme options."
|
89 |
msgstr ""
|
90 |
|
91 |
#: includes/class-ctc-ui.php:169
|
92 |
+
msgid "Backup Child Stylesheet"
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#: includes/class-ctc-ui.php:180
|
96 |
msgid "Parse additional stylesheets:"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: includes/class-ctc-ui.php:181
|
100 |
msgid "(click to toggle)"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: includes/class-ctc-ui.php:185
|
104 |
msgid "Select only the stylesheets you wish to customize to reduce overhead."
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: includes/class-ctc-ui.php:203
|
108 |
msgid "Generate Child Theme Files"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: includes/class-ctc-ui.php:214 includes/class-ctc-ui.php:283
|
112 |
msgid "Rule"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: includes/class-ctc-ui.php:227
|
116 |
msgid "Value"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: includes/class-ctc-ui.php:230 includes/class-ctc-ui.php:268
|
120 |
#: includes/class-ctc.php:117
|
121 |
msgid "Sample"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: includes/class-ctc-ui.php:233 includes/class-ctc.php:119
|
125 |
msgid "Selectors"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: includes/class-ctc-ui.php:244
|
129 |
msgid "Query"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: includes/class-ctc-ui.php:255
|
133 |
msgid "Selector"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: includes/class-ctc-ui.php:276 includes/class-ctc-ui.php:316
|
137 |
+
#: includes/class-ctc-ui.php:335
|
138 |
msgid "Save"
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: includes/class-ctc-ui.php:286
|
142 |
msgid "Parent Value"
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: includes/class-ctc-ui.php:289
|
146 |
msgid "Child Value"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: includes/class-ctc-ui.php:295
|
150 |
msgid "New Rule"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: includes/class-ctc-ui.php:305
|
154 |
msgid "Order"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: includes/class-ctc-ui.php:312
|
158 |
msgid "Raw CSS"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: includes/class-ctc-ui.php:331
|
162 |
msgid "@import Statements"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: includes/class-ctc-ui.php:363
|
166 |
msgid "Upload New Child Theme Image"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: includes/class-ctc-ui.php:366
|
170 |
msgid ""
|
171 |
"Theme images reside under the <code>images</code> directory in your child "
|
172 |
"theme and are meant for stylesheet use only. Use the Media Library for "
|
173 |
"content images."
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: includes/class-ctc-ui.php:373 includes/class-ctc-ui.php:399
|
177 |
msgid "Upload"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: includes/class-ctc-ui.php:380
|
181 |
msgid "Child Theme Screenshot"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: includes/class-ctc-ui.php:389
|
185 |
msgid "Upload New Screenshot"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: includes/class-ctc-ui.php:392
|
189 |
msgid ""
|
190 |
"The theme screenshot should be a 4:3 ratio (e.g., 880px x 660px) JPG, PNG or "
|
191 |
"GIF. It will be renamed <code>screenshot</code>."
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: includes/class-ctc-ui.php:407
|
195 |
msgid "Export Child Theme as Zip Archive"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: includes/class-ctc-ui.php:413
|
199 |
msgid "Export"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: includes/class-ctc-ui.php:422
|
203 |
msgid "Secure Child Theme"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: includes/class-ctc-ui.php:425
|
207 |
msgid ""
|
208 |
"Attempt to reset child theme permissions to user ownership and read-only "
|
209 |
"access."
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: includes/class-ctc-ui.php:431
|
213 |
msgid "Make read-only"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: includes/class-ctc-ui.php:482
|
217 |
msgid "Click here to edit template files using the Theme Editor"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: includes/class-ctc-ui.php:486
|
221 |
msgid ""
|
222 |
"The Theme editor has been disabled. Template files must be edited offline."
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: includes/class-ctc-ui.php:501
|
226 |
msgid "Copy PHP template files from the parent theme by selecting them here."
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: includes/class-ctc-ui.php:504
|
230 |
msgid ""
|
231 |
"CAUTION: If your child theme is active, the child theme version of the file "
|
232 |
"will be used instead of the parent immediately after it is copied."
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: includes/class-ctc-ui.php:506
|
236 |
msgid "The %s file is generated separately and cannot be copied here."
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: includes/class-ctc-ui.php:513
|
240 |
msgid "Delete child theme templates by selecting them here."
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: includes/class-ctc-ui.php:515
|
244 |
msgid ""
|
245 |
"Delete child theme templates or make them writable by selecting them here. "
|
246 |
"Writable files are displayed in <span style=\"color:red\">red</span>."
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: includes/class-ctc-ui.php:526
|
250 |
msgid "Make Selected Writable"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: includes/class-ctc-ui.php:530
|
254 |
msgid "Copy Selected to Child Theme"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: includes/class-ctc-ui.php:530
|
258 |
msgid "Delete Selected"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: includes/class-ctc-ui.php:568
|
262 |
msgid "Child Theme Images"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: includes/class-ctc-ui.php:571
|
266 |
msgid "Remove child theme images by selecting them here."
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: includes/class-ctc-ui.php:579
|
270 |
msgid "Remove Selected"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: includes/class-ctc-ui.php:610
|
274 |
msgid "Child Theme files modified successfully."
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: includes/class-ctc-ui.php:612
|
278 |
msgid ""
|
279 |
"Child Theme <strong>%s</strong> has been generated successfully.\n"
|
280 |
" "
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: includes/class-ctc-ui.php:618
|
284 |
msgid ""
|
285 |
"Please verify the imports below and remove any imports that are not needed "
|
286 |
"by the front end, such as admin or configuration stylesheets."
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: includes/class-ctc-ui.php:635
|
290 |
msgid "Tutorial Video"
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: includes/class-ctc-ui.php:636
|
294 |
msgid ""
|
295 |
"<iframe width=\"480\" height=\"270\" src=\"//www.youtube.com/embed/"
|
296 |
"xL2HkWQxgOA?rel=0&modestbranding=1\" frameborder=\"0\" allowfullscreen></"
|
297 |
"iframe>"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: includes/class-ctc-ui.php:642
|
301 |
msgid "Start Here"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: includes/class-ctc-ui.php:643
|
305 |
msgid ""
|
306 |
"\n"
|
307 |
"<p>The first step is to create a child theme and import your parent theme "
|
316 |
"<li>Enter a Name for the child theme.</li>\n"
|
317 |
"<li>Enter an author for the child theme.</li>\n"
|
318 |
"<li>Enter the child theme version number.</li>\n"
|
319 |
+
"<li>Check \"Copy Parent Theme Menus, Widgets and other Options\", to copy "
|
320 |
+
"parent theme modifications to the child theme. Depending on the theme, some "
|
321 |
+
"options may need to be applied using separate theme option controls. "
|
322 |
+
"<strong>IMPORTANT: This will overwrite existing child theme options.</"
|
323 |
+
"strong></li>\n"
|
324 |
+
"<li>Check \"Backup Stylesheet\", to create a backup of the child theme "
|
325 |
+
"stylesheet in the child theme directory.</li>\n"
|
326 |
"<li>If your theme uses additional stylesheets they will appear as checkbox "
|
327 |
"options when you open the toggle arrow. Select only the stylesheets you wish "
|
328 |
"to customize to reduce overhead. Remember to select them again if you reload "
|
329 |
"your configuration.</li>\n"
|
330 |
+
"<li>Click \"Generate Child Theme.\"</li>\n"
|
331 |
+
"<li><strong>ALWAYS <a target=\"_blank\" href=\"http://www.lilaeamedia.com/"
|
332 |
+
"plugins/child-theme-configurator/#preview_activate\" title=\"Test your child "
|
333 |
+
"theme before activating!\">TEST YOUR CHILD THEME</a> BEFORE ACTIVATING!</"
|
334 |
+
"strong></li></ol>\n"
|
335 |
"\t\t\t\t "
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: includes/class-ctc-ui.php:664
|
339 |
msgid ""
|
340 |
"\n"
|
341 |
"<p>There are two ways to identify and override parent styles. The Child "
|
368 |
"\t\t\t\t "
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: includes/class-ctc-ui.php:678
|
372 |
msgid ""
|
373 |
"\n"
|
374 |
"<p>There are two ways to identify and override parent styles. The Child "
|
395 |
"\t\t\t\t "
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: includes/class-ctc-ui.php:690
|
399 |
msgid "Add New Styles"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: includes/class-ctc-ui.php:691
|
403 |
msgid ""
|
404 |
"\n"
|
405 |
"<p>If you wish to add additional rules to a given selector, first load the "
|
419 |
"\t\t\t\t "
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: includes/class-ctc-ui.php:701
|
423 |
msgid "@imports and Web Fonts"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: includes/class-ctc-ui.php:702
|
427 |
msgid ""
|
428 |
"\n"
|
429 |
"<p>You can add additional stylesheets and web fonts by typing @import rules "
|
441 |
"\t\t\t\t "
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: includes/class-ctc-ui.php:716
|
445 |
msgid ""
|
446 |
"\n"
|
447 |
"<h5>Parent Templates</h5><p>Copy PHP template files from the parent theme by "
|
467 |
"\t\t\t\t "
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: includes/class-ctc-ui.php:732
|
471 |
msgid "Preview and Activate"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: includes/class-ctc-ui.php:733
|
475 |
msgid ""
|
476 |
"<p><strong>IMPORTANT: <a target=\"_blank\" href=\"http://www.lilaeamedia.com/"
|
477 |
"plugins/child-theme-configurator/#preview_activate\" title=\"Test your child "
|
492 |
"\t\t\t\t "
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: includes/class-ctc-ui.php:744
|
496 |
msgid "File Permissions"
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: includes/class-ctc-ui.php:745
|
500 |
msgid ""
|
501 |
"\n"
|
502 |
"<p>WordPress was designed to work on a number of server configurations. "
|
516 |
"\t\t\t\t "
|
517 |
msgstr ""
|
518 |
|
519 |
+
#: includes/class-ctc-ui.php:758
|
520 |
msgid "FAQs"
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: includes/class-ctc-ui.php:759
|
524 |
msgid ""
|
525 |
"\n"
|
526 |
"<h5>Does it work with Plugins?</h5>\n"
|
629 |
" "
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: includes/class-ctc-ui.php:803
|
633 |
msgid "Glossary"
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: includes/class-ctc-ui.php:804
|
637 |
msgid ""
|
638 |
"\n"
|
639 |
"<h3 id=\"terms\">Glossary</h3>\n"
|
673 |
"\t\t\t\t "
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: includes/class-ctc-ui.php:827
|
677 |
msgid "Contact us"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: includes/class-ctc-ui.php:828
|
681 |
msgid "Plugin Website"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: includes/class-ctc-ui.php:829
|
685 |
msgid "Donate"
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: includes/class-ctc-ui.php:830
|
689 |
msgid "Give Us 5 Stars"
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: includes/class-ctc-ui.php:831
|
693 |
msgid "WordPress Codex"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: includes/class-ctc-ui.php:832
|
697 |
msgid "WordPress Answers"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#. #-#-#-#-# chld_thm_cfg.pot (Child Theme Configurator 1.5.1) #-#-#-#-#
|
701 |
#. Plugin Name of the plugin/theme
|
702 |
#: includes/class-ctc.php:50
|
703 |
msgid "Child Theme Configurator"
|
771 |
msgid "Please enter a valid Child Theme"
|
772 |
msgstr ""
|
773 |
|
774 |
+
#: includes/class-ctc.php:127 includes/class-ctc.php:300
|
775 |
msgid "Please enter a valid Child Theme name"
|
776 |
msgstr ""
|
777 |
|
783 |
msgid "Zip file creation failed."
|
784 |
msgstr ""
|
785 |
|
786 |
+
#: includes/class-ctc.php:271
|
787 |
msgid "%s does not exist. Please select a valid Parent Theme"
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: includes/class-ctc.php:274
|
791 |
msgid "Please select a valid Parent Theme"
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: includes/class-ctc.php:278
|
795 |
msgid "Please enter a valid Child Theme template name"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: includes/class-ctc.php:285
|
799 |
msgid ""
|
800 |
"<strong>%s</strong> exists. Please enter a different Child Theme template "
|
801 |
"name"
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: includes/class-ctc.php:303 includes/class-ctc.php:770
|
805 |
msgid "Your theme directories are not writable."
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: includes/class-ctc.php:323 includes/class-ctc.php:779
|
809 |
msgid "Your stylesheet is not writable."
|
810 |
msgstr ""
|
811 |
|
813 |
msgid "You do not have permission to configure child themes."
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: includes/class-ctc.php:484
|
817 |
msgid "Could not copy file."
|
818 |
msgstr ""
|
819 |
|
820 |
+
#: includes/class-ctc.php:546
|
821 |
msgid "Could not set write permissions."
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: includes/class-ctc.php:617
|
825 |
msgid "There were errors while resetting permissions."
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: includes/class-ctc.php:652
|
829 |
msgid "Could not upload file."
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: includes/class-ctc.php:731
|
833 |
msgid ""
|
834 |
"Child Theme Configurator is unable to write to the stylesheet. This can be "
|
835 |
"resolved using one of the following options:<ol>"
|
836 |
msgstr ""
|
837 |
|
838 |
+
#: includes/class-ctc.php:733
|
839 |
msgid ""
|
840 |
"<li>Temporarily make the stylesheet writable by clicking the button below. "
|
841 |
"You should change this back when you are finished editing for security by "
|
842 |
"clicking \"Make read-only\" under the \"Files\" tab.</li>"
|
843 |
msgstr ""
|
844 |
|
845 |
+
#: includes/class-ctc.php:735
|
846 |
msgid "Temporarily make stylesheet writable"
|
847 |
msgstr ""
|
848 |
|
849 |
+
#: includes/class-ctc.php:736
|
850 |
msgid ""
|
851 |
"<li><a target=\"_blank\" href=\"http://codex.wordpress.org/Editing_wp-"
|
852 |
"config.php#WordPress_Upgrade_Constants\" title=\"Editin wp-config.php\">Add "
|
853 |
"your FTP/SSH credentials to the WordPress config file</a>.</li>"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: includes/class-ctc.php:738
|
857 |
msgid ""
|
858 |
"<li><a target=\"_blank\" href=\"http://technet.microsoft.com/en-us/library/"
|
859 |
"cc771170\" title=\"Setting Application Pool Identity\">Assign WordPress to "
|
861 |
"li>"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: includes/class-ctc.php:739
|
865 |
msgid ""
|
866 |
"<li><a target=\"_blank\" href=\"http://codex.wordpress.org/"
|
867 |
"Changing_File_Permissions\" title=\"Changing File Permissions\">Set the "
|
869 |
"li>"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: includes/class-ctc.php:741
|
873 |
msgid "<li>Run PHP under Apache with suEXEC (contact your web host).</li>"
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: includes/class-ctc.php:749
|
877 |
msgid ""
|
878 |
"This Child Theme is not owned by your website account. It may have been "
|
879 |
"created by a prior version of this plugin or by another program. Moving "
|
882 |
"below."
|
883 |
msgstr ""
|
884 |
|
885 |
+
#: includes/class-ctc.php:751
|
886 |
msgid "Correct Child Theme Permissions"
|
887 |
msgstr ""
|
888 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: child theme, custom theme, CSS, responsive design, CSS editor, theme generator
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -83,6 +83,43 @@ Learn more at http://www.lilaeamedia.com/plugins/intelliwidget-responsive-menu
|
|
83 |
|
84 |
== Frequently Asked Questions ==
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
= Does it work with plugins? =
|
87 |
|
88 |
We offer a premium extension to let you easily modify styles for any WordPress Plugin installed on your website. The Child Theme Configurator Plugin Extension scans your plugins and allows you to create custom stylesheets in your Child Theme. Learn more at http://www.lilaeamedia.com/plugins/child-theme-plugin-styles
|
@@ -101,13 +138,20 @@ This is unfortunate, because in the best case they effectively prohibit the webm
|
|
101 |
|
102 |
Contact the vendor directly to ask for this core functionality. It is our opinion that ALL themes (especially commercial ones) must pass the Theme Unit Tests outlined by WordPress.org and ALWAYS TEST YOUR CHILD THEME BEFORE ACTIVATING (See "Preview and Activate").
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
= Why doesn't the Parent Theme have any styles when I "View Parent CSS"? =
|
105 |
|
106 |
Your Parent theme is probably using a non-standard location for the stylesheets. Check "Scan Parent Theme for additional stylesheets" on the Parent/Child tab and load the Child Theme again.
|
107 |
|
108 |
= Where is it in the Admin? =
|
109 |
|
110 |
-
The Child Theme Configurator can be found under the "Tools" menu in the WordPress Admin. Click "Child Themes" to get started.
|
|
|
111 |
Click the "Help" tab at the top right for a quick reference.
|
112 |
|
113 |
= Where are the styles? The configurator doesn't show anything! =
|
@@ -125,10 +169,6 @@ You have to load a child theme from the Parent/Child tab for the preview to disp
|
|
125 |
|
126 |
You can make any manual changes you wish to the stylesheet. Just make sure you import the revised stylesheet using the Parent/Child panel or the Configurator will overwrite your changes the next time you use it. Just follow the steps as usual but select the "Use Existing Child Theme" radio button as the "Child Theme" option. The Configurator will automatically update its internal data from the new stylesheet.
|
127 |
|
128 |
-
= Why are my menus displaying incorrectly when I activate the new child theme? =
|
129 |
-
|
130 |
-
The child theme creates a new instance in the WordPress options data and the menus have to be assigned. Go to Appearance > Menus and assign locations to each of the menus for the new Child Theme.
|
131 |
-
|
132 |
= If the parent theme changes (e.g., upgrade), do I have to update the child theme? =
|
133 |
|
134 |
No. This is the point of using child themes. Changes to the parent theme are automatically inherited by the child theme.
|
@@ -137,7 +177,7 @@ A child theme is not a "copy" of the parent theme. It is a special feature of Wo
|
|
137 |
|
138 |
= Where are the .php files? =
|
139 |
|
140 |
-
The
|
141 |
|
142 |
= How do I change a specific color/font style/background? =
|
143 |
|
@@ -175,11 +215,6 @@ For more information view "Make a Theme Responsive":
|
|
175 |
|
176 |
https://www.youtube.com/watch?v=iBiiAgsK4G4
|
177 |
|
178 |
-
= How do I add Web Fonts? =
|
179 |
-
|
180 |
-
The easiest method is to paste the @import code provided by Google, Font Squirrel or any other Web Font site into the @import tab. The fonts will then be available to use as a value of the font-family rule. Be sure you understand the license for any embedded fonts.
|
181 |
-
|
182 |
-
You can also create a secondary stylesheet that contains @font-face rules and import it using the @import tab.
|
183 |
|
184 |
== Screenshots ==
|
185 |
|
@@ -191,6 +226,9 @@ You can also create a secondary stylesheet that contains @font-face rules and im
|
|
191 |
|
192 |
== Changelog ==
|
193 |
|
|
|
|
|
|
|
194 |
= 1.5.0 =
|
195 |
* We have completely refactored CTC to use the WP_Filesystem API.
|
196 |
* If your web host is configured to use suExec (meaning it runs under the user of the web account being accessed), the changes will be completely transparent.
|
@@ -200,7 +238,7 @@ You can also create a secondary stylesheet that contains @font-face rules and im
|
|
200 |
* Contact us at http://www.lilaeamedia.com/about/contact if you have any questions.
|
201 |
|
202 |
= 1.4.8 =
|
203 |
-
* Removed
|
204 |
|
205 |
= 1.4.7 =
|
206 |
* Fixed uninitialized variable in files UI.
|
@@ -330,7 +368,7 @@ You can also create a secondary stylesheet that contains @font-face rules and im
|
|
330 |
|
331 |
== Upgrade Notice ==
|
332 |
|
333 |
-
|
334 |
|
335 |
== Create Your Child Theme ==
|
336 |
|
@@ -343,10 +381,11 @@ The first step is to create a child theme and import your parent theme styles in
|
|
343 |
3. Enter a Name for the child theme.
|
344 |
4. Enter an author for the child theme.
|
345 |
5. Enter the child theme version number.
|
346 |
-
6.
|
347 |
-
7.
|
348 |
-
8.
|
349 |
-
9.
|
|
|
350 |
|
351 |
== Override Parent Styles ==
|
352 |
|
@@ -423,7 +462,7 @@ You can also click the Preview CSS tab to see your new masterpiece as CSS code.
|
|
423 |
|
424 |
* ALWAYS TEST YOUR CHILD THEME BEFORE ACTIVATING (See "Preview and Activate," above).
|
425 |
* No web font preview. Look for live preview of imported fonts in a later release.
|
426 |
-
* No webkit-gradient. The Child Theme Configurator plugin does not support the legacy webkit gradient. If there is a demand, we will add it in a future release, but most Chrome and Safari users should have upgraded by now.
|
427 |
* Only two-color gradients. The Child Theme Configurator plugin is powerful, but we have simplified the gradient interface. You can use any gradient you want as long as it has two colors and no intermediate stops.
|
428 |
* No @font-face rules. The Child Theme Configurator plugin only supports @media and @import. If you need other @rules, put them in a separate stylesheet and import them into the Child Theme stylesheet.
|
429 |
* Menus may not include certain rules. The Child Theme Configurator plugin loads the rules that exist in the Parent stylesheet. If you find rules are missing from the menus, you can add them using a filter. Stay tuned for details.
|
4 |
Tags: child theme, custom theme, CSS, responsive design, CSS editor, theme generator
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 1.5.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
83 |
|
84 |
== Frequently Asked Questions ==
|
85 |
|
86 |
+
= Why are my menus displaying incorrectly when I activate the new child theme? =
|
87 |
+
...or...
|
88 |
+
= Why is my custom header missing when I activate the new child theme? =
|
89 |
+
...or...
|
90 |
+
= Why does my custom background go back to the default when I activate the new child theme? =
|
91 |
+
...or...
|
92 |
+
= Why do my theme options disappear when I activate the new child theme? =
|
93 |
+
|
94 |
+
These options are specific to each theme and are saved separately in the database. When you create a new child theme, its options are blank.
|
95 |
+
|
96 |
+
Many of these options can be copied over to the child theme by checking "Copy Parent Theme Menus, Widgets and other Options" when you generate the child theme files on the Parent/Child tab.
|
97 |
+
|
98 |
+
If you want to set different options you can either apply them after you activate the child theme, or by using the "Live Preview" under Appearance > Themes.
|
99 |
+
|
100 |
+
* Menus: Go to Appearance > Menus and click the "Locations" tab. By default, the primary menu will generate the links automatically from the existing pages. Select your customized Menu from the dropdown and click "Use New Menu." This will replace the default menu and you will see the correct links.
|
101 |
+
* Header: Go to Appearance > Header. Some themes will show the "Title" and "Tagline" from your "General Settings" by default. Click "Choose Image" and find the header from the Media Library or upload a new image. This will replace default with your custom image.
|
102 |
+
* Background: Go to Appearance > Background and choose a new background color or image.
|
103 |
+
* Options: Every theme handles options in its own way. Most often, they will create a set of options and store them in the WordPress database. Some options are specific to the active theme (or child theme), and some are specific to the parent theme only (meaning the child theme CANNOT override them). You will have to find out from the theme author which are which.
|
104 |
+
|
105 |
+
= How do I add Web Fonts? =
|
106 |
+
|
107 |
+
The easiest method is to paste the @import code provided by Google, Font Squirrel or any other Web Font site into the @import tab. The fonts will then be available to use as a value of the font-family rule. Be sure you understand the license for any embedded fonts.
|
108 |
+
|
109 |
+
You can also create a secondary stylesheet that contains @font-face rules and import it using the @import tab.
|
110 |
+
|
111 |
+
= Does it work with Multi site? =
|
112 |
+
|
113 |
+
Using with WordPress Network sites requires additional steps:
|
114 |
+
|
115 |
+
1. Install as Network Admin and Network Enable the Plugin.
|
116 |
+
2. Go to the site you want to customize.
|
117 |
+
3. Go to Tools > Child Themes and configure a child theme for the parent theme you want to use
|
118 |
+
4. Go back to Network Admin and Network Enable the new Child theme.
|
119 |
+
5. Go back the site and activate the child theme.
|
120 |
+
|
121 |
+
Now you can edit your child theme from Tools > Child Themes. NOTE: Only users with "edit_theme_options" capability will have access to the Child Theme Configurator.
|
122 |
+
|
123 |
= Does it work with plugins? =
|
124 |
|
125 |
We offer a premium extension to let you easily modify styles for any WordPress Plugin installed on your website. The Child Theme Configurator Plugin Extension scans your plugins and allows you to create custom stylesheets in your Child Theme. Learn more at http://www.lilaeamedia.com/plugins/child-theme-plugin-styles
|
138 |
|
139 |
Contact the vendor directly to ask for this core functionality. It is our opinion that ALL themes (especially commercial ones) must pass the Theme Unit Tests outlined by WordPress.org and ALWAYS TEST YOUR CHILD THEME BEFORE ACTIVATING (See "Preview and Activate").
|
140 |
|
141 |
+
= Will this slow down my site? =
|
142 |
+
|
143 |
+
The biggest performance hit occurs when you generate the Child Theme files, especially with style-heavy themes. CTC has been known to use as much as 32MB to parse large stylesheets, but this is a one-time event.
|
144 |
+
|
145 |
+
Once the child theme stylesheet is created, CTC adds very little overhead to the front-end since all of the functionality is in the admin.
|
146 |
+
|
147 |
= Why doesn't the Parent Theme have any styles when I "View Parent CSS"? =
|
148 |
|
149 |
Your Parent theme is probably using a non-standard location for the stylesheets. Check "Scan Parent Theme for additional stylesheets" on the Parent/Child tab and load the Child Theme again.
|
150 |
|
151 |
= Where is it in the Admin? =
|
152 |
|
153 |
+
The Child Theme Configurator can be found under the "Tools" menu in the WordPress Admin. Click "Child Themes" to get started. NOTE: Only users with "edit_theme_options" capability will have access to the Child Theme Configurator.
|
154 |
+
|
155 |
Click the "Help" tab at the top right for a quick reference.
|
156 |
|
157 |
= Where are the styles? The configurator doesn't show anything! =
|
169 |
|
170 |
You can make any manual changes you wish to the stylesheet. Just make sure you import the revised stylesheet using the Parent/Child panel or the Configurator will overwrite your changes the next time you use it. Just follow the steps as usual but select the "Use Existing Child Theme" radio button as the "Child Theme" option. The Configurator will automatically update its internal data from the new stylesheet.
|
171 |
|
|
|
|
|
|
|
|
|
172 |
= If the parent theme changes (e.g., upgrade), do I have to update the child theme? =
|
173 |
|
174 |
No. This is the point of using child themes. Changes to the parent theme are automatically inherited by the child theme.
|
177 |
|
178 |
= Where are the .php files? =
|
179 |
|
180 |
+
The Child Theme Configurator automatically adds a blank functions.php file to the child theme directory. You can copy parent theme template files using the Files tab. If you want to create new templates and directories you will have to create/upload them manually via FTP or SSH. Remember that a child theme will automatically inherit the parent theme's templates unless they also exist in the child theme directory. Only copy templates that you intend to customize.
|
181 |
|
182 |
= How do I change a specific color/font style/background? =
|
183 |
|
215 |
|
216 |
https://www.youtube.com/watch?v=iBiiAgsK4G4
|
217 |
|
|
|
|
|
|
|
|
|
|
|
218 |
|
219 |
== Screenshots ==
|
220 |
|
226 |
|
227 |
== Changelog ==
|
228 |
|
229 |
+
= 1.5.1 =
|
230 |
+
* Added copy option to Parent/Child tab to assign menu locations, sidebars/widgets, custom header, background, and other options to the new Child Theme.
|
231 |
+
|
232 |
= 1.5.0 =
|
233 |
* We have completely refactored CTC to use the WP_Filesystem API.
|
234 |
* If your web host is configured to use suExec (meaning it runs under the user of the web account being accessed), the changes will be completely transparent.
|
238 |
* Contact us at http://www.lilaeamedia.com/about/contact if you have any questions.
|
239 |
|
240 |
= 1.4.8 =
|
241 |
+
* Removed backreference in main CSS parser regex due to high memory usage.
|
242 |
|
243 |
= 1.4.7 =
|
244 |
* Fixed uninitialized variable in files UI.
|
368 |
|
369 |
== Upgrade Notice ==
|
370 |
|
371 |
+
Added copy option to Parent/Child tab to assign menu locations, sidebars/widgets, custom header, background, and other options to the new Child Theme.
|
372 |
|
373 |
== Create Your Child Theme ==
|
374 |
|
381 |
3. Enter a Name for the child theme.
|
382 |
4. Enter an author for the child theme.
|
383 |
5. Enter the child theme version number.
|
384 |
+
6. Check "Copy Parent Theme Menus, Widgets and other Options", to copy parent theme modifications to the child theme. Depending on the theme, some options may need to be applied using separate theme option controls. **IMPORTANT: This will overwrite existing child theme options.**
|
385 |
+
7. Check "Backup Stylesheet", to create a backup of the child theme stylesheet in the child theme directory.
|
386 |
+
8. If your theme uses additional stylesheets they will appear as checkbox options. Select only the stylesheets you wish to customize to reduce overhead.
|
387 |
+
9. Click "Generate Child Theme Files."
|
388 |
+
10. ALWAYS TEST YOUR CHILD THEME BEFORE ACTIVATING!
|
389 |
|
390 |
== Override Parent Styles ==
|
391 |
|
462 |
|
463 |
* ALWAYS TEST YOUR CHILD THEME BEFORE ACTIVATING (See "Preview and Activate," above).
|
464 |
* No web font preview. Look for live preview of imported fonts in a later release.
|
465 |
+
* No legacy webkit-gradient. The Child Theme Configurator plugin does not support the legacy webkit gradient. If there is a demand, we will add it in a future release, but most Chrome and Safari users should have upgraded by now.
|
466 |
* Only two-color gradients. The Child Theme Configurator plugin is powerful, but we have simplified the gradient interface. You can use any gradient you want as long as it has two colors and no intermediate stops.
|
467 |
* No @font-face rules. The Child Theme Configurator plugin only supports @media and @import. If you need other @rules, put them in a separate stylesheet and import them into the Child Theme stylesheet.
|
468 |
* Menus may not include certain rules. The Child Theme Configurator plugin loads the rules that exist in the Parent stylesheet. If you find rules are missing from the menus, you can add them using a filter. Stay tuned for details.
|
screenshot-1.jpg
CHANGED
Binary file
|