Version Description
- 19 February 2022 =
- Full-Width Containers Using CSS: Restored normal functionality when Standard or Full-Width rows not present.
- Full-Width Containers Using CSS: Resolved a collapse issue when the browser resolution equals the collapse value.
Download this release
Release Info
Developer | SiteOrigin |
Plugin | Page Builder by SiteOrigin |
Version | 2.16.4 |
Comparing to | |
See all releases |
Code changes from version 2.16.3 to 2.16.4
- inc/renderer.php +3 -2
- lang/siteorigin-panels.pot +1 -1
- readme.txt +6 -2
- siteorigin-panels.php +2 -2
- widgets/widgets/call-to-action/call-to-action.php +10 -10
inc/renderer.php
CHANGED
@@ -109,7 +109,7 @@ class SiteOrigin_Panels_Renderer {
|
|
109 |
|
110 |
// If the CSS Container Breaker is enabled, and this row is using it,
|
111 |
// we need to remove the cell widths on mobile.
|
112 |
-
$css_container_cutoff = $this->container['css_override'] && isset( $row['style']['row_stretch'] ) && $row['style']['row_stretch'] == 'full' ?
|
113 |
|
114 |
if (
|
115 |
$this->container['css_override'] &&
|
@@ -118,7 +118,8 @@ class SiteOrigin_Panels_Renderer {
|
|
118 |
! empty( $row['style']['row_stretch'] ) &&
|
119 |
(
|
120 |
$row['style']['row_stretch'] == 'full' ||
|
121 |
-
$row['style']['row_stretch'] == '
|
|
|
122 |
)
|
123 |
) {
|
124 |
$this->container['full_width'] = true;
|
109 |
|
110 |
// If the CSS Container Breaker is enabled, and this row is using it,
|
111 |
// we need to remove the cell widths on mobile.
|
112 |
+
$css_container_cutoff = $this->container['css_override'] && isset( $row['style']['row_stretch'] ) && $row['style']['row_stretch'] == 'full' ? ':' . ( $panels_mobile_width + 1 ) : 1920;
|
113 |
|
114 |
if (
|
115 |
$this->container['css_override'] &&
|
118 |
! empty( $row['style']['row_stretch'] ) &&
|
119 |
(
|
120 |
$row['style']['row_stretch'] == 'full' ||
|
121 |
+
$row['style']['row_stretch'] == 'full-stretched' ||
|
122 |
+
$row['style']['row_stretch'] == 'full-stretched-padded'
|
123 |
)
|
124 |
) {
|
125 |
$this->container['full_width'] = true;
|
lang/siteorigin-panels.pot
CHANGED
@@ -629,7 +629,7 @@ msgstr ""
|
|
629 |
msgid "Custom Home Page Builder"
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: inc/renderer.php:
|
633 |
msgid "Prevented SiteOrigin layout from repeated rendering."
|
634 |
msgstr ""
|
635 |
|
629 |
msgid "Custom Home Page Builder"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: inc/renderer.php:433
|
633 |
msgid "Prevented SiteOrigin layout from repeated rendering."
|
634 |
msgstr ""
|
635 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Tags: page builder, responsive, parallax, widgets, blocks, gallery, layout, grid
|
|
3 |
Requires at least: 4.7
|
4 |
Tested up to: 5.9
|
5 |
Requires PHP: 5.6.20
|
6 |
-
Stable tag: 2.16.
|
7 |
-
Build time: 2022-02-
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl.html
|
10 |
Donate link: https://siteorigin.com/downloads/premium/
|
@@ -107,6 +107,10 @@ SiteOrigin Premium includes access to our professional email support service, pe
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
|
|
110 |
= 2.16.3 - 14 February 2022 =
|
111 |
* Fixed Background Images: Change to `scroll` on mobile devices. Resolves iOS bug.
|
112 |
|
3 |
Requires at least: 4.7
|
4 |
Tested up to: 5.9
|
5 |
Requires PHP: 5.6.20
|
6 |
+
Stable tag: 2.16.4
|
7 |
+
Build time: 2022-02-19T17:04:43+02:00
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl.html
|
10 |
Donate link: https://siteorigin.com/downloads/premium/
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= 2.16.4 - 19 February 2022 =
|
111 |
+
* Full-Width Containers Using CSS: Restored normal functionality when Standard or Full-Width rows not present.
|
112 |
+
* Full-Width Containers Using CSS: Resolved a collapse issue when the browser resolution equals the collapse value.
|
113 |
+
|
114 |
= 2.16.3 - 14 February 2022 =
|
115 |
* Fixed Background Images: Change to `scroll` on mobile devices. Resolves iOS bug.
|
116 |
|
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.16.
|
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.16.
|
15 |
if ( ! defined( 'SITEORIGIN_PANELS_JS_SUFFIX' ) ) {
|
16 |
define( 'SITEORIGIN_PANELS_JS_SUFFIX', '.min' );
|
17 |
}
|
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.16.4
|
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.16.4' );
|
15 |
if ( ! defined( 'SITEORIGIN_PANELS_JS_SUFFIX' ) ) {
|
16 |
define( 'SITEORIGIN_PANELS_JS_SUFFIX', '.min' );
|
17 |
}
|
widgets/widgets/call-to-action/call-to-action.php
CHANGED
@@ -1,39 +1,39 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
class SiteOrigin_Panels_Widget_Call_To_Action extends SiteOrigin_Panels_Widget
|
4 |
function __construct() {
|
5 |
parent::__construct(
|
6 |
-
__('Call To Action (PB)', 'siteorigin-panels'),
|
7 |
array(
|
8 |
-
'description' => __('A Call to Action block', 'siteorigin-panels'),
|
9 |
'default_style' => 'simple',
|
10 |
),
|
11 |
array(),
|
12 |
array(
|
13 |
'title' => array(
|
14 |
'type' => 'text',
|
15 |
-
'label' => __('Title', 'siteorigin-panels'),
|
16 |
),
|
17 |
'subtitle' => array(
|
18 |
'type' => 'text',
|
19 |
-
'label' => __('Sub Title', 'siteorigin-panels'),
|
20 |
),
|
21 |
'button_text' => array(
|
22 |
'type' => 'text',
|
23 |
-
'label' => __('Button Text', 'siteorigin-panels'),
|
24 |
),
|
25 |
'button_url' => array(
|
26 |
'type' => 'text',
|
27 |
-
'label' => __('Button URL', 'siteorigin-panels'),
|
28 |
),
|
29 |
'button_new_window' => array(
|
30 |
'type' => 'checkbox',
|
31 |
-
'label' => __('Open In New Window', 'siteorigin-panels'),
|
32 |
),
|
33 |
)
|
34 |
);
|
35 |
|
36 |
-
// We need the button style
|
37 |
-
$this->add_sub_widget('button', __('Button', 'siteorigin-panels'), 'SiteOrigin_Panels_Widget_Button');
|
38 |
}
|
39 |
}
|
1 |
<?php
|
2 |
|
3 |
+
class SiteOrigin_Panels_Widget_Call_To_Action extends SiteOrigin_Panels_Widget {
|
4 |
function __construct() {
|
5 |
parent::__construct(
|
6 |
+
__( 'Call To Action (PB)', 'siteorigin-panels' ),
|
7 |
array(
|
8 |
+
'description' => __( 'A Call to Action block', 'siteorigin-panels' ),
|
9 |
'default_style' => 'simple',
|
10 |
),
|
11 |
array(),
|
12 |
array(
|
13 |
'title' => array(
|
14 |
'type' => 'text',
|
15 |
+
'label' => __( 'Title', 'siteorigin-panels' ),
|
16 |
),
|
17 |
'subtitle' => array(
|
18 |
'type' => 'text',
|
19 |
+
'label' => __( 'Sub Title', 'siteorigin-panels' ),
|
20 |
),
|
21 |
'button_text' => array(
|
22 |
'type' => 'text',
|
23 |
+
'label' => __( 'Button Text', 'siteorigin-panels' ),
|
24 |
),
|
25 |
'button_url' => array(
|
26 |
'type' => 'text',
|
27 |
+
'label' => __( 'Button URL', 'siteorigin-panels' ),
|
28 |
),
|
29 |
'button_new_window' => array(
|
30 |
'type' => 'checkbox',
|
31 |
+
'label' => __( 'Open In New Window', 'siteorigin-panels' ),
|
32 |
),
|
33 |
)
|
34 |
);
|
35 |
|
36 |
+
// We need the button style.
|
37 |
+
$this->add_sub_widget( 'button', __( 'Button', 'siteorigin-panels' ), 'SiteOrigin_Panels_Widget_Button') ;
|
38 |
}
|
39 |
}
|