Version Description
- 27 September 2016 =
- Added disableable upgrade notice.
Download this release
Release Info
Developer | gpriday |
Plugin | Page Builder by SiteOrigin |
Version | 2.4.16 |
Comparing to | |
See all releases |
Code changes from version 2.4.15 to 2.4.16
- css/admin.css +7 -0
- readme.txt +5 -2
- settings/settings.php +11 -0
- siteorigin-panels.php +9 -2
- tpl/js-templates.php +7 -0
css/admin.css
CHANGED
@@ -65,6 +65,13 @@
|
|
65 |
.siteorigin-panels-builder .so-tool-button:hover span {
|
66 |
color: #444444;
|
67 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
.siteorigin-panels-builder .so-builder-toolbar {
|
69 |
-ms-box-sizing: border-box;
|
70 |
-moz-box-sizing: border-box;
|
65 |
.siteorigin-panels-builder .so-tool-button:hover span {
|
66 |
color: #444444;
|
67 |
}
|
68 |
+
.siteorigin-panels-builder .so-tool-button.so-siteorigin-premium {
|
69 |
+
margin-left: 10px;
|
70 |
+
background: #FFFFFF;
|
71 |
+
}
|
72 |
+
.siteorigin-panels-builder .so-tool-button.so-siteorigin-premium:hover span {
|
73 |
+
color: #333;
|
74 |
+
}
|
75 |
.siteorigin-panels-builder .so-builder-toolbar {
|
76 |
-ms-box-sizing: border-box;
|
77 |
-moz-box-sizing: border-box;
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Tags: page builder, responsive, widget, widgets, builder, page, admin, gallery, content, cms, pages, post, css, layout, grid
|
3 |
Requires at least: 4.0
|
4 |
Tested up to: 4.6
|
5 |
-
Stable tag: 2.4.
|
6 |
-
Build time: 2016-09-
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl.html
|
9 |
Donate link: http://siteorigin.com/page-builder/#donate
|
@@ -96,6 +96,9 @@ We've tried to ensure that Page Builder is compatible with most plugin widgets.
|
|
96 |
|
97 |
== Changelog ==
|
98 |
|
|
|
|
|
|
|
99 |
= 2.4.15 - 6 September 2016 =
|
100 |
* Fixed legacy widgets check.
|
101 |
|
2 |
Tags: page builder, responsive, widget, widgets, builder, page, admin, gallery, content, cms, pages, post, css, layout, grid
|
3 |
Requires at least: 4.0
|
4 |
Tested up to: 4.6
|
5 |
+
Stable tag: 2.4.16
|
6 |
+
Build time: 2016-09-27T10:01:13+02:00
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl.html
|
9 |
Donate link: http://siteorigin.com/page-builder/#donate
|
96 |
|
97 |
== Changelog ==
|
98 |
|
99 |
+
= 2.4.16 - 27 September 2016 =
|
100 |
+
* Added disableable upgrade notice.
|
101 |
+
|
102 |
= 2.4.15 - 6 September 2016 =
|
103 |
* Fixed legacy widgets check.
|
104 |
|
settings/settings.php
CHANGED
@@ -107,6 +107,7 @@ class SiteOrigin_Panels_Settings {
|
|
107 |
$defaults['home-page-default'] = false;
|
108 |
$defaults['home-template'] = 'home-panels.php';
|
109 |
$defaults['affiliate-id'] = apply_filters( 'siteorigin_panels_affiliate_id', false );
|
|
|
110 |
|
111 |
// The general fields
|
112 |
$defaults['post-types'] = array('page', 'post');
|
@@ -239,6 +240,16 @@ class SiteOrigin_Panels_Settings {
|
|
239 |
'description' => __('Page Builder will create an emulated sidebar, that contains all widgets in the page.', 'siteorigin-panels'),
|
240 |
);
|
241 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
// The widgets fields
|
243 |
|
244 |
$fields['widgets'] = array(
|
107 |
$defaults['home-page-default'] = false;
|
108 |
$defaults['home-template'] = 'home-panels.php';
|
109 |
$defaults['affiliate-id'] = apply_filters( 'siteorigin_panels_affiliate_id', false );
|
110 |
+
$defaults['display-teaser'] = true;
|
111 |
|
112 |
// The general fields
|
113 |
$defaults['post-types'] = array('page', 'post');
|
240 |
'description' => __('Page Builder will create an emulated sidebar, that contains all widgets in the page.', 'siteorigin-panels'),
|
241 |
);
|
242 |
|
243 |
+
$fields['general']['fields']['display-teaser'] = array(
|
244 |
+
'type' => 'checkbox',
|
245 |
+
'label' => __('Upgrade Teaser', 'siteorigin-panels'),
|
246 |
+
'description' => sprintf(
|
247 |
+
__('Display the %sSiteOrigin Premium%s upgrade teaser in the Page Builder toolbar.', 'siteorigin-panels'),
|
248 |
+
'<a href="siteorigin.com/downloads/premium/" target="_blank">',
|
249 |
+
'</a>'
|
250 |
+
)
|
251 |
+
);
|
252 |
+
|
253 |
// The widgets fields
|
254 |
|
255 |
$fields['widgets'] = array(
|
siteorigin-panels.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Page Builder by SiteOrigin
|
4 |
Plugin URI: https://siteorigin.com/page-builder/
|
5 |
Description: A drag and drop, responsive page builder that simplifies building your website.
|
6 |
-
Version: 2.4.
|
7 |
Author: SiteOrigin
|
8 |
Author URI: https://siteorigin.com
|
9 |
License: GPL3
|
@@ -11,7 +11,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
|
|
11 |
Donate link: http://siteorigin.com/page-builder/#donate
|
12 |
*/
|
13 |
|
14 |
-
define('SITEORIGIN_PANELS_VERSION', '2.4.
|
15 |
if ( ! defined('SITEORIGIN_PANELS_JS_SUFFIX' ) ) {
|
16 |
define('SITEORIGIN_PANELS_JS_SUFFIX', '.min');
|
17 |
}
|
@@ -1610,5 +1610,12 @@ function siteorigin_panels_process_panels_data( $panels_data ){
|
|
1610 |
}
|
1611 |
add_filter( 'siteorigin_panels_data', 'siteorigin_panels_process_panels_data', 5 );
|
1612 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1613 |
// Include the live editor file if we're in live editor mode.
|
1614 |
if( !empty($_GET['siteorigin_panels_live_editor']) ) require_once plugin_dir_path(__FILE__) . 'inc/live-editor.php';
|
3 |
Plugin Name: Page Builder by SiteOrigin
|
4 |
Plugin URI: https://siteorigin.com/page-builder/
|
5 |
Description: A drag and drop, responsive page builder that simplifies building your website.
|
6 |
+
Version: 2.4.16
|
7 |
Author: SiteOrigin
|
8 |
Author URI: https://siteorigin.com
|
9 |
License: GPL3
|
11 |
Donate link: http://siteorigin.com/page-builder/#donate
|
12 |
*/
|
13 |
|
14 |
+
define('SITEORIGIN_PANELS_VERSION', '2.4.16');
|
15 |
if ( ! defined('SITEORIGIN_PANELS_JS_SUFFIX' ) ) {
|
16 |
define('SITEORIGIN_PANELS_JS_SUFFIX', '.min');
|
17 |
}
|
1610 |
}
|
1611 |
add_filter( 'siteorigin_panels_data', 'siteorigin_panels_process_panels_data', 5 );
|
1612 |
|
1613 |
+
function siteorigin_premium_display_teaser(){
|
1614 |
+
return
|
1615 |
+
siteorigin_panels_setting( 'display-teaser' ) &&
|
1616 |
+
apply_filters( 'siteorigin_premium_upgrade_teaser', true ) &&
|
1617 |
+
! defined( 'SITEORIGIN_PREMIUM_VERSION' );
|
1618 |
+
}
|
1619 |
+
|
1620 |
// Include the live editor file if we're in live editor mode.
|
1621 |
if( !empty($_GET['siteorigin_panels_live_editor']) ) require_once plugin_dir_path(__FILE__) . 'inc/live-editor.php';
|
tpl/js-templates.php
CHANGED
@@ -38,6 +38,13 @@ $layouts = apply_filters( 'siteorigin_panels_prebuilt_layouts', array() );
|
|
38 |
|
39 |
<?php endif; ?>
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
<a class="so-switch-to-standard"><?php _e('Revert to Editor', 'siteorigin-panels') ?></a>
|
42 |
|
43 |
</div>
|
38 |
|
39 |
<?php endif; ?>
|
40 |
|
41 |
+
<?php if( siteorigin_premium_display_teaser() ) : ?>
|
42 |
+
<a class="so-tool-button so-siteorigin-premium" title="<?php esc_attr_e( 'SiteOrigin Premium', 'siteorigin-panels' ) ?>" href="https://siteorigin.com/downloads/premium/?featured_plugin=siteorigin-panels" target="_blank">
|
43 |
+
<span class="so-panels-icon so-panels-icon-plus"></span>
|
44 |
+
<span class="so-button-text"><?php esc_html_e('Upgrade', 'siteorigin-panels') ?></span>
|
45 |
+
</a>
|
46 |
+
<?php endif; ?>
|
47 |
+
|
48 |
<a class="so-switch-to-standard"><?php _e('Revert to Editor', 'siteorigin-panels') ?></a>
|
49 |
|
50 |
</div>
|