SiteOrigin Widgets Bundle - Version 1.37.1

Version Description

  • 08 July 2022 =
  • Contact Form: Maintain radio and checkbox input size on iOS.
  • Hero: Resolved Extra Top Padding related notice.
  • Social Media Buttons: Restored the Phone and RSS icons.
Download this release

Release Info

Developer SiteOrigin
Plugin Icon 128x128 SiteOrigin Widgets Bundle
Version 1.37.1
Comparing to
See all releases

Code changes from version 1.37.0 to 1.37.1

lang/so-widgets-bundle.pot CHANGED
@@ -2104,19 +2104,19 @@ msgstr ""
2104
  msgid "Link hover color"
2105
  msgstr ""
2106
 
2107
- #: widgets/hero/hero.php:625
2108
  msgid "Add multiple Hero frames in one go with %sSiteOrigin Premium%s"
2109
  msgstr ""
2110
 
2111
- #: widgets/hero/hero.php:630
2112
  msgid "Add Hero frame content animation effects with %sSiteOrigin Premium%s"
2113
  msgstr ""
2114
 
2115
- #: widgets/hero/hero.php:635, widgets/layout-slider/layout-slider.php:482, widgets/slider/slider.php:368
2116
  msgid "Add parallax and fixed background images with %sSiteOrigin Premium%s"
2117
  msgstr ""
2118
 
2119
- #: widgets/hero/hero.php:640
2120
  msgid "Use Google Fonts right inside the Hero Widget with %sSiteOrigin Premium%s"
2121
  msgstr ""
2122
 
@@ -2680,7 +2680,7 @@ msgstr ""
2680
  msgid "Very high"
2681
  msgstr ""
2682
 
2683
- #: widgets/social-media-buttons/social-media-buttons.php:373
2684
  msgid "Add custom social networks with %sSiteOrigin Premium%s"
2685
  msgstr ""
2686
 
2104
  msgid "Link hover color"
2105
  msgstr ""
2106
 
2107
+ #: widgets/hero/hero.php:627
2108
  msgid "Add multiple Hero frames in one go with %sSiteOrigin Premium%s"
2109
  msgstr ""
2110
 
2111
+ #: widgets/hero/hero.php:632
2112
  msgid "Add Hero frame content animation effects with %sSiteOrigin Premium%s"
2113
  msgstr ""
2114
 
2115
+ #: widgets/hero/hero.php:637, widgets/layout-slider/layout-slider.php:482, widgets/slider/slider.php:368
2116
  msgid "Add parallax and fixed background images with %sSiteOrigin Premium%s"
2117
  msgstr ""
2118
 
2119
+ #: widgets/hero/hero.php:642
2120
  msgid "Use Google Fonts right inside the Hero Widget with %sSiteOrigin Premium%s"
2121
  msgstr ""
2122
 
2680
  msgid "Very high"
2681
  msgstr ""
2682
 
2683
+ #: widgets/social-media-buttons/social-media-buttons.php:378
2684
  msgid "Add custom social networks with %sSiteOrigin Premium%s"
2685
  msgstr ""
2686
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Tags: widget, button, slider, hero, google maps, image, carousel, lottie, featur
3
  Requires at least: 4.2
4
  Tested up to: 6.0
5
  Requires PHP: 5.6.20
6
- Stable tag: 1.37.0
7
- Build time: 2022-06-30T15:39:08+02:00
8
  License: GPLv3 or later
9
  Contributors: gpriday, braam-genis, alexgso
10
  Donate link: https://siteorigin.com/downloads/premium/
@@ -105,6 +105,11 @@ The Widgets Bundle global interface is available at Plugins > SiteOrigin Widgets
105
 
106
  == Changelog ==
107
 
 
 
 
 
 
108
  = 1.37.0 - 30 June 2022 =
109
  * Buttons: Changed the design default from Atom to Flat.
110
  * Contact Form: Minor placement adjustment for Really Simple CAPTCHA error messages.
3
  Requires at least: 4.2
4
  Tested up to: 6.0
5
  Requires PHP: 5.6.20
6
+ Stable tag: 1.37.1
7
+ Build time: 2022-07-08T20:00:16+02:00
8
  License: GPLv3 or later
9
  Contributors: gpriday, braam-genis, alexgso
10
  Donate link: https://siteorigin.com/downloads/premium/
105
 
106
  == Changelog ==
107
 
108
+ = 1.37.1 - 08 July 2022 =
109
+ * Contact Form: Maintain radio and checkbox input size on iOS.
110
+ * Hero: Resolved Extra Top Padding related notice.
111
+ * Social Media Buttons: Restored the Phone and RSS icons.
112
+
113
  = 1.37.0 - 30 June 2022 =
114
  * Buttons: Changed the design default from Atom to Flat.
115
  * Contact Form: Minor placement adjustment for Really Simple CAPTCHA error messages.
so-widgets-bundle.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: SiteOrigin Widgets Bundle
4
  Description: A highly customizable collection of widgets, ready to be used anywhere, neatly bundled into a single plugin.
5
- Version: 1.37.0
6
  Text Domain: so-widgets-bundle
7
  Domain Path: /lang
8
  Author: SiteOrigin
@@ -12,7 +12,7 @@ License: GPL3
12
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
13
  */
14
 
15
- define( 'SOW_BUNDLE_VERSION', '1.37.0' );
16
  define( 'SOW_BUNDLE_BASE_FILE', __FILE__ );
17
 
18
  // Allow JS suffix to be pre-set.
2
  /*
3
  Plugin Name: SiteOrigin Widgets Bundle
4
  Description: A highly customizable collection of widgets, ready to be used anywhere, neatly bundled into a single plugin.
5
+ Version: 1.37.1
6
  Text Domain: so-widgets-bundle
7
  Domain Path: /lang
8
  Author: SiteOrigin
12
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
13
  */
14
 
15
+ define( 'SOW_BUNDLE_VERSION', '1.37.1' );
16
  define( 'SOW_BUNDLE_BASE_FILE', __FILE__ );
17
 
18
  // Allow JS suffix to be pre-set.
widgets/contact/styles/default.less CHANGED
@@ -111,20 +111,18 @@
111
  width: 100%;
112
  .box-sizing(border-box);
113
  border-radius: @field_border_radius;
114
-
115
  margin: @field_margin;
116
  border: @field_border_width @field_border_style @field_border_color;
117
  padding: @field_padding;
118
-
119
  background: @field_background;
120
  color: @field_font_color;
121
-
122
  font-size: @field_font_size;
123
  .font(@field_font_family, @field_font_weight);
124
  font-style: @field_font_style;
125
  }
126
 
127
  &.sow-form-field-radio {
 
128
  ul {
129
  list-style: none;
130
  margin: 0;
@@ -144,11 +142,13 @@
144
  float: left;
145
  margin-right: 0.5em;
146
  height: auto;
 
147
  }
148
  }
149
  }
150
 
151
  &.sow-form-field-checkboxes {
 
152
  ul {
153
  list-style: none;
154
  margin: 0;
@@ -167,12 +167,13 @@
167
  input {
168
  height: auto;
169
  margin-right: 0.5em;
 
170
  }
171
  }
172
  }
173
 
174
  @description_font_size: 0.9em;
175
- @description_font_color: #999999;
176
  @description_font_style: italic;
177
 
178
  .sow-form-field-description {
@@ -189,11 +190,11 @@
189
  }
190
 
191
  .sow-contact-form {
192
- // Container Background
193
  @container_background: default;
194
  @container_padding: 10px;
195
 
196
- // Container border
197
  @container_border_color: #c0c0c0;
198
  @container_border_width: 1px;
199
  @container_border_style: solid;
@@ -226,17 +227,14 @@
226
  .sow-submit-wrapper {
227
 
228
  .sow-submit {
229
-
230
  }
231
 
232
  .sow-submit:disabled {
233
-
234
  }
235
  }
236
 
237
  .sow-submit-styled {
238
-
239
- @submit_background_color: #eeeeee;
240
  @submit_background_gradient: 10%;
241
  @submit_border_color: #989a9c;
242
  @submit_border_style: solid;
@@ -248,12 +246,12 @@
248
  @submit_padding: 10px;
249
  @submit_width: default;
250
  @submit_align: left;
251
-
252
  @submit_inset_highlight: 50%;
253
-
254
  text-align: @submit_align;
 
255
  .sow-submit {
256
  color: @submit_text_color;
 
257
  & when( @submit_background_gradient > 0% ) {
258
  .gradient(
259
  lighten(@submit_background_color, @submit_background_gradient),
@@ -261,7 +259,7 @@
261
  lighten(@submit_background_color, @submit_background_gradient)
262
  );
263
  }
264
-
265
  & when( @submit_background_gradient = 0% ) {
266
  background: @submit_background_color;
267
  }
@@ -275,7 +273,7 @@
275
  width: @submit_width;
276
 
277
  .sow-submit-box-shadow ( @percent ) when ( @percent > 0% ) {
278
- box-shadow: inset 0 -1px 0 fade( #ffffff, @percent );
279
  }
280
 
281
  .sow-submit-box-shadow( @submit_inset_highlight );
@@ -286,7 +284,6 @@
286
  cursor: not-allowed;
287
  background: lighten(@submit_background_color, 20%);
288
  border: @submit_border_width @submit_border_style lighten(@submit_border_color, 20%);
289
-
290
  }
291
  }
292
  }
111
  width: 100%;
112
  .box-sizing(border-box);
113
  border-radius: @field_border_radius;
 
114
  margin: @field_margin;
115
  border: @field_border_width @field_border_style @field_border_color;
116
  padding: @field_padding;
 
117
  background: @field_background;
118
  color: @field_font_color;
 
119
  font-size: @field_font_size;
120
  .font(@field_font_family, @field_font_weight);
121
  font-style: @field_font_style;
122
  }
123
 
124
  &.sow-form-field-radio {
125
+
126
  ul {
127
  list-style: none;
128
  margin: 0;
142
  float: left;
143
  margin-right: 0.5em;
144
  height: auto;
145
+ flex: none;
146
  }
147
  }
148
  }
149
 
150
  &.sow-form-field-checkboxes {
151
+
152
  ul {
153
  list-style: none;
154
  margin: 0;
167
  input {
168
  height: auto;
169
  margin-right: 0.5em;
170
+ flex: none;
171
  }
172
  }
173
  }
174
 
175
  @description_font_size: 0.9em;
176
+ @description_font_color: #999;
177
  @description_font_style: italic;
178
 
179
  .sow-form-field-description {
190
  }
191
 
192
  .sow-contact-form {
193
+ // Container Background.
194
  @container_background: default;
195
  @container_padding: 10px;
196
 
197
+ // Container Border.
198
  @container_border_color: #c0c0c0;
199
  @container_border_width: 1px;
200
  @container_border_style: solid;
227
  .sow-submit-wrapper {
228
 
229
  .sow-submit {
 
230
  }
231
 
232
  .sow-submit:disabled {
 
233
  }
234
  }
235
 
236
  .sow-submit-styled {
237
+ @submit_background_color: #eee;
 
238
  @submit_background_gradient: 10%;
239
  @submit_border_color: #989a9c;
240
  @submit_border_style: solid;
246
  @submit_padding: 10px;
247
  @submit_width: default;
248
  @submit_align: left;
 
249
  @submit_inset_highlight: 50%;
 
250
  text-align: @submit_align;
251
+
252
  .sow-submit {
253
  color: @submit_text_color;
254
+
255
  & when( @submit_background_gradient > 0% ) {
256
  .gradient(
257
  lighten(@submit_background_color, @submit_background_gradient),
259
  lighten(@submit_background_color, @submit_background_gradient)
260
  );
261
  }
262
+
263
  & when( @submit_background_gradient = 0% ) {
264
  background: @submit_background_color;
265
  }
273
  width: @submit_width;
274
 
275
  .sow-submit-box-shadow ( @percent ) when ( @percent > 0% ) {
276
+ box-shadow: inset 0 -1px 0 fade( #fff, @percent );
277
  }
278
 
279
  .sow-submit-box-shadow( @submit_inset_highlight );
284
  cursor: not-allowed;
285
  background: lighten(@submit_background_color, 20%);
286
  border: @submit_border_width @submit_border_style lighten(@submit_border_color, 20%);
 
287
  }
288
  }
289
  }
widgets/hero/hero.php CHANGED
@@ -535,11 +535,13 @@ class SiteOrigin_Widget_Hero_Widget extends SiteOrigin_Widget_Base_Slider {
535
 
536
  if ( ! empty( $instance['layout']['mobile'] ) ) {
537
  $settings = $instance['layout']['mobile'];
538
-
539
  $meas_options['slide_height_responsive'] = ! empty( $settings['height_responsive'] ) ? $settings['height_responsive'] : '';
540
- if ( $settings['padding'] != '' || $settings['padding_extra_top'] != '' ) {
 
541
  $meas_options['slide_padding_responsive'] = ! empty( $settings['padding'] ) ? $settings['padding'] : '0px';
 
542
 
 
543
  $meas_options['slide_padding_extra_top_responsive'] = ! empty( $settings['padding_extra_top'] ) ? $settings['padding_extra_top'] : '0px';
544
  }
545
  $meas_options['slide_padding_sides_responsive'] = ! empty( $settings['padding_sides'] ) ? $settings['padding_sides'] : '';
535
 
536
  if ( ! empty( $instance['layout']['mobile'] ) ) {
537
  $settings = $instance['layout']['mobile'];
 
538
  $meas_options['slide_height_responsive'] = ! empty( $settings['height_responsive'] ) ? $settings['height_responsive'] : '';
539
+
540
+ if ( isset( $settings['padding'] ) ) {
541
  $meas_options['slide_padding_responsive'] = ! empty( $settings['padding'] ) ? $settings['padding'] : '0px';
542
+ }
543
 
544
+ if ( isset( $settings['padding_extra_top'] ) ) {
545
  $meas_options['slide_padding_extra_top_responsive'] = ! empty( $settings['padding_extra_top'] ) ? $settings['padding_extra_top'] : '0px';
546
  }
547
  $meas_options['slide_padding_sides_responsive'] = ! empty( $settings['padding_sides'] ) ? $settings['padding_sides'] : '';
widgets/social-media-buttons/social-media-buttons.php CHANGED
@@ -228,7 +228,12 @@ class SiteOrigin_Widget_SocialMediaButtons_Widget extends SiteOrigin_Widget {
228
  $network['name'] = 'suitcase';
229
  }
230
 
231
- if ( $network['name'] != 'envelope' && $network['name'] != 'suitcase' ) {
 
 
 
 
 
232
  $network['icon_name'] = 'fontawesome-sow-fab-' . $network['name'];
233
  } else {
234
  $network['icon_name'] = 'fontawesome-sow-fas-' . $network['name'];
228
  $network['name'] = 'suitcase';
229
  }
230
 
231
+ if (
232
+ $network['name'] != 'envelope' &&
233
+ $network['name'] != 'suitcase' &&
234
+ $network['name'] != 'rss' &&
235
+ $network['name'] != 'phone'
236
+ ) {
237
  $network['icon_name'] = 'fontawesome-sow-fab-' . $network['name'];
238
  } else {
239
  $network['icon_name'] = 'fontawesome-sow-fas-' . $network['name'];
widgets/testimonial/tpl/default.php CHANGED
@@ -5,10 +5,10 @@
5
  * @var $testimonials
6
  */
7
  ?>
8
- <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . $instance['title'] . $args['after_title'] ?>
9
  <?php $this->caret_svg() ?>
10
  <div class="sow-testimonials">
11
- <?php foreach( $testimonials as $testimonial ) : ?>
12
  <?php
13
  $url = $testimonial['url'];
14
  $new_window = $testimonial['new_window'];
@@ -22,48 +22,48 @@
22
  ?>
23
  <div class="sow-testimonial-wrapper <?php echo $this->testimonial_wrapper_class($design) ?>">
24
  <div class="sow-testimonial">
25
- <?php if( strpos($design['layout'], '_above') !== false ) : ?>
26
  <div class="sow-testimonial-text">
27
  <?php echo wp_kses_post( $testimonial['text'] ) ?>
28
  </div>
29
  <?php endif; ?>
30
 
31
  <div class="sow-testimonial-user">
32
- <?php if( $has_image ) : ?>
33
  <div class="sow-image-wrapper sow-image-wrapper-shape-<?php echo $design['image']['image_shape']; ?>">
34
- <?php if( $link_image ) : ?>
35
- <a href="<?php echo sow_esc_url( $url ) ?>" <?php if( ! empty( $new_window ) ) { echo 'target="_blank" rel="noopener noreferrer"'; } ?>>
36
  <?php endif; ?>
37
  <?php echo $this->testimonial_user_image( $image_id, $design, $fallback_image_id ); ?>
38
- <?php if( $link_image ) : ?>
39
  </a>
40
  <?php endif; ?>
41
  </div>
42
  <?php endif; ?>
43
 
44
  <div class="sow-text">
45
- <?php if( $link_name ) : ?>
46
- <a href="<?php echo sow_esc_url( $url ) ?>" <?php if( ! empty( $new_window ) ) { echo 'target="_blank" rel="noopener noreferrer"'; } ?>>
47
  <?php endif; ?>
48
  <span class="sow-testimonial-name"><strong><?php echo esc_html( $testimonial['name'] ) ?></strong></span>
49
- <?php if( $link_name ) : ?>
50
  </a>
51
  <?php endif; ?>
52
- <?php if( $link_location ) : ?>
53
- <a href="<?php echo sow_esc_url( $url ) ?>" <?php if( ! empty( $new_window ) ) { echo 'target="_blank" rel="noopener noreferrer"'; } ?>>
54
  <?php endif; ?>
55
- <?php if( ! empty( $location ) ) : ?>
56
  <span class="sow-testimonial-location"><?php echo esc_html( $location ) ?></span>
57
  <?php endif; ?>
58
- <?php if( $link_location ) : ?>
59
  </a>
60
  <?php endif; ?>
61
  </div>
62
 
63
- <?php // $this->testimonial_pointer($design) ?>
64
  </div>
65
 
66
- <?php if( strpos($design['layout'], '_above') === false ) : ?>
67
  <div class="sow-testimonial-text">
68
  <?php echo wp_kses_post( $testimonial['text'] ) ?>
69
  </div>
5
  * @var $testimonials
6
  */
7
  ?>
8
+ <?php if ( !empty( $instance['title'] ) ) echo $args['before_title'] . $instance['title'] . $args['after_title'] ?>
9
  <?php $this->caret_svg() ?>
10
  <div class="sow-testimonials">
11
+ <?php foreach ( $testimonials as $testimonial ) : ?>
12
  <?php
13
  $url = $testimonial['url'];
14
  $new_window = $testimonial['new_window'];
22
  ?>
23
  <div class="sow-testimonial-wrapper <?php echo $this->testimonial_wrapper_class($design) ?>">
24
  <div class="sow-testimonial">
25
+ <?php if ( strpos($design['layout'], '_above') !== false ) : ?>
26
  <div class="sow-testimonial-text">
27
  <?php echo wp_kses_post( $testimonial['text'] ) ?>
28
  </div>
29
  <?php endif; ?>
30
 
31
  <div class="sow-testimonial-user">
32
+ <?php if ( $has_image ) : ?>
33
  <div class="sow-image-wrapper sow-image-wrapper-shape-<?php echo $design['image']['image_shape']; ?>">
34
+ <?php if ( $link_image ) : ?>
35
+ <a href="<?php echo sow_esc_url( $url ) ?>" <?php if ( ! empty( $new_window ) ) { echo 'target="_blank" rel="noopener noreferrer"'; } ?>>
36
  <?php endif; ?>
37
  <?php echo $this->testimonial_user_image( $image_id, $design, $fallback_image_id ); ?>
38
+ <?php if ( $link_image ) : ?>
39
  </a>
40
  <?php endif; ?>
41
  </div>
42
  <?php endif; ?>
43
 
44
  <div class="sow-text">
45
+ <?php if ( $link_name ) : ?>
46
+ <a href="<?php echo sow_esc_url( $url ) ?>" <?php if ( ! empty( $new_window ) ) { echo 'target="_blank" rel="noopener noreferrer"'; } ?>>
47
  <?php endif; ?>
48
  <span class="sow-testimonial-name"><strong><?php echo esc_html( $testimonial['name'] ) ?></strong></span>
49
+ <?php if ( $link_name ) : ?>
50
  </a>
51
  <?php endif; ?>
52
+ <?php if ( $link_location ) : ?>
53
+ <a href="<?php echo sow_esc_url( $url ) ?>" <?php if ( ! empty( $new_window ) ) { echo 'target="_blank" rel="noopener noreferrer"'; } ?>>
54
  <?php endif; ?>
55
+ <?php if ( ! empty( $location ) ) : ?>
56
  <span class="sow-testimonial-location"><?php echo esc_html( $location ) ?></span>
57
  <?php endif; ?>
58
+ <?php if ( $link_location ) : ?>
59
  </a>
60
  <?php endif; ?>
61
  </div>
62
 
63
+ <?php // $this->testimonial_pointer( $design ) ?>
64
  </div>
65
 
66
+ <?php if ( strpos($design['layout'], '_above') === false ) : ?>
67
  <div class="sow-testimonial-text">
68
  <?php echo wp_kses_post( $testimonial['text'] ) ?>
69
  </div>