Version Description
- Fixed: JS errors are cause errors with other plugins
- Loads plugin's JS/CSS files only on child theme creator pages (admin area)
Download this release
Release Info
Developer | lordspace |
Plugin | Child Theme Creator by Orbisius |
Version | 1.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.9
- nbproject/private/private.xml +3 -0
- orbisius-child-theme-creator.php +19 -6
- readme.txt +7 -8
nbproject/private/private.xml
CHANGED
@@ -14,5 +14,8 @@
|
|
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 |
</open-files>
|
18 |
</project-private>
|
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>
|
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.0.
|
7 |
Author: Svetoslav Marinov (Slavi)
|
8 |
Author URI: http://orbisius.com
|
9 |
*/
|
@@ -27,6 +27,7 @@
|
|
27 |
|
28 |
// Set up plugin
|
29 |
add_action('admin_init', 'orbisius_child_theme_creator_admin_init');
|
|
|
30 |
add_action('admin_menu', 'orbisius_child_theme_creator_setup_admin');
|
31 |
add_action('network_admin_menu', 'orbisius_child_theme_creator_setup_admin');
|
32 |
add_action('wp_footer', 'orbisius_child_theme_creator_add_plugin_credits', 1000); // be the last in the footer
|
@@ -56,14 +57,26 @@ function orbisius_child_theme_creator_admin_notice_message() {
|
|
56 |
}
|
57 |
}
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
/**
|
60 |
* @package Orbisius Child Theme Creator
|
61 |
* @since 1.0
|
62 |
*
|
63 |
-
*
|
64 |
* Also searches tags
|
65 |
*/
|
66 |
-
function
|
|
|
|
|
|
|
|
|
67 |
$suffix = '';
|
68 |
$dev = empty($_SERVER['DEV_ENV']) ? 0 : 1;
|
69 |
$suffix = $dev ? '' : '.min';
|
@@ -93,7 +106,7 @@ function orbisius_child_theme_creator_setup_admin() {
|
|
93 |
add_filter('plugin_action_links', 'orbisius_child_theme_creator_add_plugin_settings_link', 10, 2);
|
94 |
|
95 |
// Theme Editor
|
96 |
-
add_theme_page( 'Orbisius Theme Editor', 'Orbisius Theme Editor', 'manage_options', '
|
97 |
add_filter('theme_action_links', 'orbisius_child_theme_creator_add_edit_theme_link', 50, 2);
|
98 |
}
|
99 |
|
@@ -199,7 +212,7 @@ function orbisius_child_theme_creator_settings_page() {
|
|
199 |
|
200 |
<h2>Support & Feature Requests</h2>
|
201 |
<div class="updated"><p>
|
202 |
-
** NOTE: ** Support is handled on our site: <a href="http://club.orbisius.com/support/" target="_blank" title="[new window]">http://club.orbisius.com/support/</a>.
|
203 |
Please do NOT use the WordPress forums or other places to seek support.
|
204 |
</p></div>
|
205 |
|
@@ -880,7 +893,7 @@ class orbisius_child_theme_creator_util {
|
|
880 |
* @return string
|
881 |
*/
|
882 |
static public function get_theme_editor_link($params = array()) {
|
883 |
-
$rel_path = 'themes.php?page=
|
884 |
|
885 |
if (!empty($params)) {
|
886 |
$rel_path = orbisius_child_theme_creator_html::add_url_params($rel_path, $params);
|
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.0.9
|
7 |
Author: Svetoslav Marinov (Slavi)
|
8 |
Author URI: http://orbisius.com
|
9 |
*/
|
27 |
|
28 |
// Set up plugin
|
29 |
add_action('admin_init', 'orbisius_child_theme_creator_admin_init');
|
30 |
+
add_action('admin_enqueue_scripts', 'orbisius_child_theme_creator_admin_enqueue_scripts');
|
31 |
add_action('admin_menu', 'orbisius_child_theme_creator_setup_admin');
|
32 |
add_action('network_admin_menu', 'orbisius_child_theme_creator_setup_admin');
|
33 |
add_action('wp_footer', 'orbisius_child_theme_creator_add_plugin_credits', 1000); // be the last in the footer
|
57 |
}
|
58 |
}
|
59 |
|
60 |
+
/**
|
61 |
+
* @package Orbisius Child Theme Creator
|
62 |
+
* @since 1.0
|
63 |
+
*/
|
64 |
+
function orbisius_child_theme_creator_admin_init() {
|
65 |
+
|
66 |
+
}
|
67 |
+
|
68 |
/**
|
69 |
* @package Orbisius Child Theme Creator
|
70 |
* @since 1.0
|
71 |
*
|
72 |
+
* Loads plugin's JS/CSS files only on child theme creator pages in admin area.
|
73 |
* Also searches tags
|
74 |
*/
|
75 |
+
function orbisius_child_theme_creator_admin_enqueue_scripts($current_page = '') {
|
76 |
+
if (strpos($current_page, 'orbisius_child_theme_creator') === false) {
|
77 |
+
return ;
|
78 |
+
}
|
79 |
+
|
80 |
$suffix = '';
|
81 |
$dev = empty($_SERVER['DEV_ENV']) ? 0 : 1;
|
82 |
$suffix = $dev ? '' : '.min';
|
106 |
add_filter('plugin_action_links', 'orbisius_child_theme_creator_add_plugin_settings_link', 10, 2);
|
107 |
|
108 |
// Theme Editor
|
109 |
+
add_theme_page( 'Orbisius Theme Editor', 'Orbisius Theme Editor', 'manage_options', 'orbisius_child_theme_creator_theme_editor_action', 'orbisius_ctc_theme_editor' );
|
110 |
add_filter('theme_action_links', 'orbisius_child_theme_creator_add_edit_theme_link', 50, 2);
|
111 |
}
|
112 |
|
212 |
|
213 |
<h2>Support & Feature Requests</h2>
|
214 |
<div class="updated"><p>
|
215 |
+
** NOTE: ** Support is handled on our site: <a href="http://club.orbisius.com/forums/forum/community-support-forum/wordpress-plugins/orbisius-child-theme-creator/?utm_source=orbisius-child-theme-editor&utm_medium=action_screen&utm_campaign=product" target="_blank" title="[new window]">http://club.orbisius.com/support/</a>.
|
216 |
Please do NOT use the WordPress forums or other places to seek support.
|
217 |
</p></div>
|
218 |
|
893 |
* @return string
|
894 |
*/
|
895 |
static public function get_theme_editor_link($params = array()) {
|
896 |
+
$rel_path = 'themes.php?page=orbisius_child_theme_creator_theme_editor_action';
|
897 |
|
898 |
if (!empty($params)) {
|
899 |
$rel_path = orbisius_child_theme_creator_html::add_url_params($rel_path, $params);
|
readme.txt
CHANGED
@@ -4,18 +4,13 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
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.0.
|
8 |
License: GPLv2 or later
|
9 |
-
Network:true
|
10 |
|
11 |
This plugin allows you to quickly create child themes from any theme that you have currently installed on your site/blog.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
= Support =
|
16 |
-
> Support is handled on our site: <a href="http://club.orbisius.com/" target="_blank" title="[new window]">http://club.orbisius.com/</a>
|
17 |
-
> Please do NOT use the WordPress forums or other places to seek support.
|
18 |
-
|
19 |
This plugin allows you to quickly create child themes from any theme that you have currently installed on your site/blog.
|
20 |
It also creates rtl.css if exists in the parent theme.
|
21 |
|
@@ -59,8 +54,8 @@ Go to Admin > Appearance > Orbisius Theme Editor then click on the theme you lik
|
|
59 |
http://www.youtube.com/watch?v=BZUVq6ZTv-o
|
60 |
|
61 |
= Support =
|
62 |
-
|
63 |
-
|
64 |
|
65 |
= Author =
|
66 |
|
@@ -119,6 +114,10 @@ Go to http://club.orbisius.com and post suggestions in our forum for new feature
|
|
119 |
|
120 |
== Changelog ==
|
121 |
|
|
|
|
|
|
|
|
|
122 |
= 1.0.8 =
|
123 |
* Tested with WP 3.7.1
|
124 |
* Added New File and Delete operations for Theme Editor #1 (left)
|
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.0.9
|
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.
|
11 |
|
12 |
== Description ==
|
13 |
|
|
|
|
|
|
|
|
|
14 |
This plugin allows you to quickly create child themes from any theme that you have currently installed on your site/blog.
|
15 |
It also creates rtl.css if exists in the parent theme.
|
16 |
|
54 |
http://www.youtube.com/watch?v=BZUVq6ZTv-o
|
55 |
|
56 |
= Support =
|
57 |
+
> Support is handled on our site: <a href="http://club.orbisius.com/" target="_blank" title="[new window]">http://club.orbisius.com/</a>
|
58 |
+
> Please do NOT use the WordPress forums or other places to seek support.
|
59 |
|
60 |
= Author =
|
61 |
|
114 |
|
115 |
== Changelog ==
|
116 |
|
117 |
+
= 1.0.9 =
|
118 |
+
* Fixed: JS errors are cause errors with other plugins
|
119 |
+
* Loads plugin's JS/CSS files only on child theme creator pages (admin area)
|
120 |
+
|
121 |
= 1.0.8 =
|
122 |
* Tested with WP 3.7.1
|
123 |
* Added New File and Delete operations for Theme Editor #1 (left)
|