Child Theme Creator by Orbisius - Version 1.1.2

Version Description

  • Reduced the height of the editors (to 22 rows) so the save/delete buttons are visible
  • Restricted the width of the dropdowns in the theme editor so they don't push the editor and the buttons down.
  • Tweaked the position of the New File button and the new form that appears.
  • Tested with WP 3.8
Download this release

Release Info

Developer lordspace
Plugin Icon wp plugin Child Theme Creator by Orbisius
Version 1.1.2
Comparing to
See all releases

Code changes from version 1.1.1 to 1.1.2

assets/main.css CHANGED
@@ -116,3 +116,9 @@
116
  background: red !important;
117
  color: white !important;
118
  }
 
 
 
 
 
 
116
  background: red !important;
117
  color: white !important;
118
  }
119
+
120
+ /* The dropdowns move to a new line when files are longer */
121
+ .orbisius_ctc_theme_editor_container #theme_1, .orbisius_ctc_theme_editor_container #theme_2,
122
+ .orbisius_ctc_theme_editor_container #theme_1_file, .orbisius_ctc_theme_editor_container #theme_2_file {
123
+ max-width:40%;
124
+ }
assets/main.min.css CHANGED
@@ -14,6 +14,7 @@
14
  .orbisius_child_theme_creator_container .available-theme{border:2px solid #FFF;padding:10px}
15
  .orbisius_child_theme_creator_container .available-theme:hover{border:2px solid #444;background:#ccc}
16
  .orbisius_child_theme_creator_container .saving_action{background:#ccc}
 
17
  .orbisius_child_theme_creator_container .highlight,.orbisius_ctc_theme_editor_container .highlight{background:#FF3}
18
  .orbisius_child_theme_creator_container .app-dialog-button-ok,.orbisius_ctc_theme_editor_container .app-dialog-button-ok{background:green!important;color:#FFF!important}
19
  .orbisius_child_theme_creator_container .app-dialog-button-cancel,.orbisius_ctc_theme_editor_container .app-dialog-button-cancel{background:red!important;color:#FFF!important}
14
  .orbisius_child_theme_creator_container .available-theme{border:2px solid #FFF;padding:10px}
15
  .orbisius_child_theme_creator_container .available-theme:hover{border:2px solid #444;background:#ccc}
16
  .orbisius_child_theme_creator_container .saving_action{background:#ccc}
17
+ .orbisius_ctc_theme_editor_container #theme_1,.orbisius_ctc_theme_editor_container #theme_2,.orbisius_ctc_theme_editor_container #theme_1_file,.orbisius_ctc_theme_editor_container #theme_2_file{max-width:40%}
18
  .orbisius_child_theme_creator_container .highlight,.orbisius_ctc_theme_editor_container .highlight{background:#FF3}
19
  .orbisius_child_theme_creator_container .app-dialog-button-ok,.orbisius_ctc_theme_editor_container .app-dialog-button-ok{background:green!important;color:#FFF!important}
20
  .orbisius_child_theme_creator_container .app-dialog-button-cancel,.orbisius_ctc_theme_editor_container .app-dialog-button-cancel{background:red!important;color:#FFF!important}
nbproject/private/private.xml CHANGED
@@ -11,11 +11,9 @@
11
  </file>
12
  </editor-bookmarks>
13
  <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/1">
 
14
  <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/readme.txt</file>
15
  <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/assets/main.css</file>
16
- <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/orbisius-child-theme-creator.php</file>
17
  <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/assets/main.js</file>
18
- <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/assets/main.min.js</file>
19
- <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/assets/main.min.css</file>
20
  </open-files>
21
  </project-private>
11
  </file>
12
  </editor-bookmarks>
13
  <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/1">
14
+ <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/orbisius-child-theme-creator.php</file>
15
  <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/readme.txt</file>
16
  <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/assets/main.css</file>
 
17
  <file>file:/C:/projects/default/htdocs/wordpress313/wp-content/plugins/orbisius-child-theme-creator/assets/main.js</file>
 
 
18
  </open-files>
19
  </project-private>
orbisius-child-theme-creator.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Orbisius Child Theme Creator
4
  Plugin URI: http://club.orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/
5
  Description: This plugin allows you to quickly create child themes from any theme that you have currently installed on your site/blog.
6
- Version: 1.1.1
7
  Author: Svetoslav Marinov (Slavi)
8
  Author URI: http://orbisius.com
9
  */
@@ -77,7 +77,6 @@ function orbisius_child_theme_creator_admin_enqueue_scripts($current_page = '')
77
  return ;
78
  }
79
 
80
- $suffix = '';
81
  $dev = empty($_SERVER['DEV_ENV']) ? 0 : 1;
82
  $suffix = $dev ? '' : '.min';
83
 
@@ -1289,29 +1288,28 @@ function orbisius_ctc_theme_editor() {
1289
  <?php echo orbisius_child_theme_creator_html::html_select('theme_1_file', $theme_1_file, $html_dropdown_theme_1_files); ?>
1290
  </span>
1291
 
1292
- <textarea id="theme_1_file_contents" name="theme_1_file_contents" rows="30" class="widefat"></textarea>
1293
  <div>
1294
  <button type='submit' class='button button-primary' id="theme_1_submit" name="theme_1_submit">Update</button>
1295
  <span class="status"></span>
1296
  </div>
1297
  </form>
1298
 
1299
- <br/>
1300
  <hr />
1301
- <div>
1302
- <button type="button" class='button' id="theme_1_new_file_btn" name="theme_1_new_file_btn">New File</button>
1303
-
 
1304
  <div id='theme_1_new_file_container' class="theme_1_new_file_container app-hide">
1305
- <h3>New File</h3>
1306
  <input type="text" id="theme_1_new_file" name="theme_1_new_file" value="" />
 
1307
  <span class="status"></span>
1308
- <div>e.g. test.js, extra.css etc</div>
1309
-
1310
- <button type='button' class='button button-primary' id="theme_1_new_file_btn_ok" name="theme_1_submit">OK</button>
1311
- or <a href='javascript:void(0)' class='app-button-negative' id="theme_1_new_file_btn_cancel" name="theme_1_submit">Cancel</a>
1312
- </div>
1313
-
1314
- <a href='javascript:void(0)' class='app-button-right app-button-negative' id="theme_1_delete_file_btn" name="theme_1_delete_file_btn">Delete File</a>
1315
  </div>
1316
  </td>
1317
  <td width="50%">
@@ -1324,7 +1322,7 @@ function orbisius_ctc_theme_editor() {
1324
  <?php echo orbisius_child_theme_creator_html::html_select('theme_2_file', $theme_2_file, $html_dropdown_theme_1_files); ?>
1325
  </span>
1326
 
1327
- <textarea id="theme_2_file_contents" name="theme_2_file_contents" rows="30" class="widefat"></textarea>
1328
  <div>
1329
  <button type='submit' class='button button-primary' id="theme_2_submit" name="theme_2_submit">Update</button>
1330
  <span class="status"></span>
3
  Plugin Name: Orbisius Child Theme Creator
4
  Plugin URI: http://club.orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/
5
  Description: This plugin allows you to quickly create child themes from any theme that you have currently installed on your site/blog.
6
+ Version: 1.1.2
7
  Author: Svetoslav Marinov (Slavi)
8
  Author URI: http://orbisius.com
9
  */
77
  return ;
78
  }
79
 
 
80
  $dev = empty($_SERVER['DEV_ENV']) ? 0 : 1;
81
  $suffix = $dev ? '' : '.min';
82
 
1288
  <?php echo orbisius_child_theme_creator_html::html_select('theme_1_file', $theme_1_file, $html_dropdown_theme_1_files); ?>
1289
  </span>
1290
 
1291
+ <textarea id="theme_1_file_contents" name="theme_1_file_contents" rows="22" class="widefat"></textarea>
1292
  <div>
1293
  <button type='submit' class='button button-primary' id="theme_1_submit" name="theme_1_submit">Update</button>
1294
  <span class="status"></span>
1295
  </div>
1296
  </form>
1297
 
 
1298
  <hr />
1299
+ <div>
1300
+ <button type="button" class='button' id="theme_1_new_file_btn" name="theme_1_new_file_btn">New File</button>
1301
+ <a href='javascript:void(0)' class='app-button-right app-button-negative' id="theme_1_delete_file_btn" name="theme_1_delete_file_btn">Delete File</a>
1302
+
1303
  <div id='theme_1_new_file_container' class="theme_1_new_file_container app-hide">
1304
+ <strong>New File</strong>
1305
  <input type="text" id="theme_1_new_file" name="theme_1_new_file" value="" />
1306
+ <span>e.g. test.js, extra.css etc</span>
1307
  <span class="status"></span>
1308
+
1309
+ <br/>
1310
+ <button type='button' class='button button-primary' id="theme_1_new_file_btn_ok" name="theme_1_submit">Save</button>
1311
+ <a href='javascript:void(0)' class='app-button-negative00 button delete' id="theme_1_new_file_btn_cancel" name="theme_1_submit">Cancel</a>
1312
+ </div>
 
 
1313
  </div>
1314
  </td>
1315
  <td width="50%">
1322
  <?php echo orbisius_child_theme_creator_html::html_select('theme_2_file', $theme_2_file, $html_dropdown_theme_1_files); ?>
1323
  </span>
1324
 
1325
+ <textarea id="theme_2_file_contents" name="theme_2_file_contents" rows="22" class="widefat"></textarea>
1326
  <div>
1327
  <button type='submit' class='button button-primary' id="theme_2_submit" name="theme_2_submit">Update</button>
1328
  <span class="status"></span>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: lordspace,orbisius
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7APYDVPBCSY9A
4
  Tags: child theme, childtheme,childthemes,child themes,CSS, styling,resposive design,design,custom themeing, shared hosting, theme,themes,wp,wordpress,orbisius,theme creator
5
  Requires at least: 3.0
6
- Tested up to: 3.7.1
7
- Stable tag: 1.1.1
8
  License: GPLv2 or later
9
 
10
  This plugin allows you to quickly create child themes from any theme that you have currently installed on your site/blog.
@@ -114,6 +114,12 @@ Go to http://club.orbisius.com and post suggestions in our forum for new feature
114
 
115
  == Changelog ==
116
 
 
 
 
 
 
 
117
  = 1.1.1 =
118
  * Fix: The version 1.1.0 wasn't released properly.
119
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7APYDVPBCSY9A
4
  Tags: child theme, childtheme,childthemes,child themes,CSS, styling,resposive design,design,custom themeing, shared hosting, theme,themes,wp,wordpress,orbisius,theme creator
5
  Requires at least: 3.0
6
+ Tested up to: 3.8
7
+ Stable tag: 1.1.2
8
  License: GPLv2 or later
9
 
10
  This plugin allows you to quickly create child themes from any theme that you have currently installed on your site/blog.
114
 
115
  == Changelog ==
116
 
117
+ = 1.1.2 =
118
+ * Reduced the height of the editors (to 22 rows) so the save/delete buttons are visible
119
+ * Restricted the width of the dropdowns in the theme editor so they don't push the editor and the buttons down.
120
+ * Tweaked the position of the New File button and the new form that appears.
121
+ * Tested with WP 3.8
122
+
123
  = 1.1.1 =
124
  * Fix: The version 1.1.0 wasn't released properly.
125