Livemesh SiteOrigin Widgets - Version 1.4.1

Version Description

  • Fixed - Display of titles for widgets
  • Fixed - Check for page id when displaying posts/pages in a grid to avoid infinite loop
Download this release

Release Info

Developer livemesh
Plugin Icon 128x128 Livemesh SiteOrigin Widgets
Version 1.4.1
Comparing to
See all releases

Code changes from version 1.4 to 1.4.1

admin/views/documentation.php CHANGED
@@ -1249,6 +1249,13 @@ else {
1249
  <!-- Updates panel -->
1250
  <div id="updates-panel" class="panel-left">
1251
 
 
 
 
 
 
 
 
1252
  <h4>1.4</h4>
1253
 
1254
  <ul>
1249
  <!-- Updates panel -->
1250
  <div id="updates-panel" class="panel-left">
1251
 
1252
+ <h4>1.4.1</h4>
1253
+
1254
+ <ul>
1255
+ <li>Fixed - Display of titles for widgets</li>
1256
+ <li>Fixed - Check for page id when displaying posts/pages in a grid to avoid infinite loop.</li>
1257
+ </ul>
1258
+
1259
  <h4>1.4</h4>
1260
 
1261
  <ul>
includes/widgets/lsow-accordion-widget/tpl/default.php CHANGED
@@ -6,6 +6,8 @@
6
  */
7
  ?>
8
 
 
 
9
  <div class="lsow-accordion <?php echo $style; ?>" data-toggle="<?php echo ($toggle ? "true" : "false"); ?>">
10
 
11
  <?php foreach ($accordion as $panel) : ?>
6
  */
7
  ?>
8
 
9
+ <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'] ?>
10
+
11
  <div class="lsow-accordion <?php echo $style; ?>" data-toggle="<?php echo ($toggle ? "true" : "false"); ?>">
12
 
13
  <?php foreach ($accordion as $panel) : ?>
includes/widgets/lsow-carousel-widget/tpl/default.php CHANGED
@@ -5,6 +5,8 @@
5
  * @var $elements
6
  */
7
 
 
 
8
  // Loop through the elements and do something with them.
9
 
10
  if (!empty($elements)) : ?>
5
  * @var $elements
6
  */
7
 
8
+ if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'];
9
+
10
  // Loop through the elements and do something with them.
11
 
12
  if (!empty($elements)) : ?>
includes/widgets/lsow-clients-widget/tpl/default.php CHANGED
@@ -6,6 +6,8 @@
6
 
7
  ?>
8
 
 
 
9
  <?php $num_of_columns = intval($settings['per_line']); ?>
10
 
11
  <?php $column_style = lsow_get_column_class($num_of_columns); ?>
6
 
7
  ?>
8
 
9
+ <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'] ?>
10
+
11
  <?php $num_of_columns = intval($settings['per_line']); ?>
12
 
13
  <?php $column_style = lsow_get_column_class($num_of_columns); ?>
includes/widgets/lsow-hero-image-widget/tpl/default.php CHANGED
@@ -15,6 +15,8 @@ if ($background['bg_type'] == 'youtube') {
15
 
16
  ?>
17
 
 
 
18
  <div class="lsow-hero-header lsow-section-bg-<?php echo $background['bg_type']; ?>" <?php echo $youtube_markup; ?>>
19
 
20
  <div class="lsow-background">
15
 
16
  ?>
17
 
18
+ <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'] ?>
19
+
20
  <div class="lsow-hero-header lsow-section-bg-<?php echo $background['bg_type']; ?>" <?php echo $youtube_markup; ?>>
21
 
22
  <div class="lsow-background">
includes/widgets/lsow-icon-list-widget/tpl/default.php CHANGED
@@ -12,6 +12,8 @@ else
12
 
13
  ?>
14
 
 
 
15
  <div class="lsow-icon-list lsow-align<?php echo $settings['align']; ?>">
16
 
17
  <?php foreach ($icon_list as $icon_item): ?>
12
 
13
  ?>
14
 
15
+ <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'] ?>
16
+
17
  <div class="lsow-icon-list lsow-align<?php echo $settings['align']; ?>">
18
 
19
  <?php foreach ($icon_list as $icon_item): ?>
includes/widgets/lsow-odometers-widget/tpl/default.php CHANGED
@@ -5,6 +5,8 @@
5
 
6
  ?>
7
 
 
 
8
  <?php $column_style = lsow_get_column_class(intval($settings['per_line'])); ?>
9
 
10
  <div class="lsow-odometers lsow-container">
5
 
6
  ?>
7
 
8
+ <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'] ?>
9
+
10
  <?php $column_style = lsow_get_column_class(intval($settings['per_line'])); ?>
11
 
12
  <div class="lsow-odometers lsow-container">
includes/widgets/lsow-piecharts-widget/tpl/default.php CHANGED
@@ -5,6 +5,8 @@
5
 
6
  ?>
7
 
 
 
8
  <?php $column_style = lsow_get_column_class(intval($settings['per_line'])); ?>
9
 
10
  <?php
5
 
6
  ?>
7
 
8
+ <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'] ?>
9
+
10
  <?php $column_style = lsow_get_column_class(intval($settings['per_line'])); ?>
11
 
12
  <?php
includes/widgets/lsow-portfolio-widget/tpl/default.php CHANGED
@@ -6,6 +6,10 @@
6
  * @var $posts
7
  */
8
 
 
 
 
 
9
  $query_args = siteorigin_widget_post_selector_process_query($posts);
10
 
11
  // Use the processed post selector query to find posts.
@@ -47,8 +51,8 @@ if ($loop->have_posts()) : ?>
47
  <?php while ($loop->have_posts()) : $loop->the_post(); ?>
48
 
49
  <?php
50
- if (get_post_type() === 'page')
51
- continue; // skip pages since they can run into infinite loop when users choose All option in build query
52
  ?>
53
 
54
  <?php
6
  * @var $posts
7
  */
8
 
9
+ if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'];
10
+
11
+ $current_page = get_queried_object_id();
12
+
13
  $query_args = siteorigin_widget_post_selector_process_query($posts);
14
 
15
  // Use the processed post selector query to find posts.
51
  <?php while ($loop->have_posts()) : $loop->the_post(); ?>
52
 
53
  <?php
54
+ if (get_the_ID() === $current_page)
55
+ continue; // skip the current page since they can run into infinite loop when users choose All option in build query
56
  ?>
57
 
58
  <?php
includes/widgets/lsow-posts-carousel-widget/tpl/default.php CHANGED
@@ -5,6 +5,8 @@
5
  * @var $posts
6
  */
7
 
 
 
8
  $query_args = siteorigin_widget_post_selector_process_query($posts);
9
 
10
  // Use the processed post selector query to find posts.
5
  * @var $posts
6
  */
7
 
8
+ if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'];
9
+
10
  $query_args = siteorigin_widget_post_selector_process_query($posts);
11
 
12
  // Use the processed post selector query to find posts.
includes/widgets/lsow-pricing-table-widget/tpl/default.php CHANGED
@@ -6,6 +6,8 @@
6
 
7
  ?>
8
 
 
 
9
  <?php $column_style = lsow_get_column_class(intval($settings['per_line'])); ?>
10
 
11
  <div class="lsow-pricing-table lsow-container">
6
 
7
  ?>
8
 
9
+ <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'] ?>
10
+
11
  <?php $column_style = lsow_get_column_class(intval($settings['per_line'])); ?>
12
 
13
  <div class="lsow-pricing-table lsow-container">
includes/widgets/lsow-services-widget/tpl/default.php CHANGED
@@ -7,6 +7,8 @@
7
 
8
  ?>
9
 
 
 
10
  <?php $column_style = lsow_get_column_class(intval($settings['per_line'])); ?>
11
 
12
  <div class="lsow-services lsow-<?php echo $style; ?> lsow-container">
7
 
8
  ?>
9
 
10
+ <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'] ?>
11
+
12
  <?php $column_style = lsow_get_column_class(intval($settings['per_line'])); ?>
13
 
14
  <div class="lsow-services lsow-<?php echo $style; ?> lsow-container">
includes/widgets/lsow-stats-bar-widget/tpl/default.php CHANGED
@@ -4,6 +4,8 @@
4
  */
5
  ?>
6
 
 
 
7
  <div class="lsow-stats-bars">
8
 
9
  <?php foreach ($stats_bars as $stats_bar) :
4
  */
5
  ?>
6
 
7
+ <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'] ?>
8
+
9
  <div class="lsow-stats-bars">
10
 
11
  <?php foreach ($stats_bars as $stats_bar) :
includes/widgets/lsow-tabs-widget/css/style.css CHANGED
@@ -39,7 +39,7 @@ html {
39
  .lsow-tabs .lsow-tab-nav .lsow-tab a {
40
  display: block;
41
  text-overflow: ellipsis;
42
- white-space: nowrap;
43
  padding: 20px 40px;
44
  text-decoration: none;
45
  border: none;
39
  .lsow-tabs .lsow-tab-nav .lsow-tab a {
40
  display: block;
41
  text-overflow: ellipsis;
42
+ white-space: normal;
43
  padding: 20px 40px;
44
  text-decoration: none;
45
  border: none;
includes/widgets/lsow-tabs-widget/css/style.scss CHANGED
@@ -24,7 +24,7 @@ $theme_color: #f94213;
24
  a {
25
  display: block;
26
  text-overflow: ellipsis;
27
- white-space: nowrap;
28
  padding: 20px 40px;
29
  text-decoration: none;
30
  border: none;
24
  a {
25
  display: block;
26
  text-overflow: ellipsis;
27
+ white-space: normal;
28
  padding: 20px 40px;
29
  text-decoration: none;
30
  border: none;
includes/widgets/lsow-tabs-widget/tpl/default.php CHANGED
@@ -6,6 +6,8 @@
6
  * @var $icon_type
7
  */
8
 
 
 
9
  $plain_styles = array('style2', 'style6', 'style7');
10
 
11
  if (in_array($style, $plain_styles, true)):
6
  * @var $icon_type
7
  */
8
 
9
+ if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'];
10
+
11
  $plain_styles = array('style2', 'style6', 'style7');
12
 
13
  if (in_array($style, $plain_styles, true)):
includes/widgets/lsow-team-members-widget/tpl/default.php CHANGED
@@ -7,6 +7,9 @@
7
 
8
  ?>
9
 
 
 
 
10
  <?php $column_style = ''; ?>
11
 
12
  <?php if ($style == 'style1'): ?>
7
 
8
  ?>
9
 
10
+ <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'] ?>
11
+
12
+
13
  <?php $column_style = ''; ?>
14
 
15
  <?php if ($style == 'style1'): ?>
includes/widgets/lsow-testimonials-slider-widget/tpl/default.php CHANGED
@@ -6,6 +6,8 @@
6
 
7
  ?>
8
 
 
 
9
  <div class="lsow-testimonials-slider lsow-flexslider lsow-container" <?php foreach ($settings as $key => $val) : ?>
10
  <?php if (!empty($val)) : ?>
11
  data-<?php echo $key . '="' . esc_attr($val) . '"' ?>
6
 
7
  ?>
8
 
9
+ <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'] ?>
10
+
11
  <div class="lsow-testimonials-slider lsow-flexslider lsow-container" <?php foreach ($settings as $key => $val) : ?>
12
  <?php if (!empty($val)) : ?>
13
  data-<?php echo $key . '="' . esc_attr($val) . '"' ?>
includes/widgets/lsow-testimonials-widget/tpl/default.php CHANGED
@@ -5,6 +5,8 @@
5
  */
6
  ?>
7
 
 
 
8
  <?php $column_style = lsow_get_column_class(intval($settings['per_line'])); ?>
9
 
10
  <div class="lsow-testimonials lsow-container">
5
  */
6
  ?>
7
 
8
+ <?php if( !empty( $instance['title'] ) ) echo $args['before_title'] . esc_html($instance['title']) . $args['after_title'] ?>
9
+
10
  <?php $column_style = lsow_get_column_class(intval($settings['per_line'])); ?>
11
 
12
  <div class="lsow-testimonials lsow-container">
livemesh-so-widgets.php CHANGED
@@ -7,7 +7,7 @@
7
  * Author URI: http://portfoliotheme.org/
8
  * License: GPL3
9
  * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
10
- * Version: 1.4
11
  * Text Domain: livemesh-so-widgets
12
  * Domain Path: languages
13
  *
@@ -92,7 +92,7 @@ if (!class_exists('Livemesh_SiteOrigin_Widgets')) :
92
 
93
  // Plugin version
94
  if (!defined('LSOW_VERSION')) {
95
- define('LSOW_VERSION', '1.4');
96
  }
97
 
98
  // Plugin Folder Path
7
  * Author URI: http://portfoliotheme.org/
8
  * License: GPL3
9
  * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
10
+ * Version: 1.4.1
11
  * Text Domain: livemesh-so-widgets
12
  * Domain Path: languages
13
  *
92
 
93
  // Plugin version
94
  if (!defined('LSOW_VERSION')) {
95
+ define('LSOW_VERSION', '1.4.1');
96
  }
97
 
98
  // Plugin Folder Path
readme.txt CHANGED
@@ -5,7 +5,7 @@ Contributors: livemesh
5
  Tags: widget, siteorigin, siteorigin widgets bundle, siteorigin page builder, siteorigin addons, grid, gallery, video background, portfolio, carousel, shortcode, tabs, admin, plugin, page
6
  Requires at least: 4.1
7
  Tested up to: 4.5.3
8
- Stable Tag: 1.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -21,7 +21,7 @@ Although not required, <a href="https://wordpress.org/plugins/siteorigin-panels/
21
 
22
  See the all of widgets in action here -
23
 
24
- <a href="http://portfoliotheme.org/siteorigin-widgets" title="Livemesh SiteOrigin Widgets Demo Site"><strong>LIVE DEMO</strong></a>.
25
 
26
  The plugin comes with the following widgets. <strong>Almost all of the widgets come with a dark version.</strong> -
27
 
@@ -110,6 +110,10 @@ Pls install and activate the <a href="https://wordpress.org/plugins/portfolio-po
110
 
111
  == Changelog ==
112
 
 
 
 
 
113
  = 1.4 =
114
  * Added - Detailed documentation for all widgets
115
  * Added - Plugin options window for enabling all widgets in one go along with other options.
5
  Tags: widget, siteorigin, siteorigin widgets bundle, siteorigin page builder, siteorigin addons, grid, gallery, video background, portfolio, carousel, shortcode, tabs, admin, plugin, page
6
  Requires at least: 4.1
7
  Tested up to: 4.5.3
8
+ Stable Tag: 1.4.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
21
 
22
  See the all of widgets in action here -
23
 
24
+ <a href="http://portfoliotheme.org/siteorigin-widgets" title="Livemesh SiteOrigin Widgets Demo Site"><strong>LIVE DEMO</strong></a> | <a href="http://portfoliotheme.org/products/livemesh-siteorigin-widgets-pro/" title="Livemesh SiteOrigin Widgets Premium Version"><strong>PRO Version</strong></a>.
25
 
26
  The plugin comes with the following widgets. <strong>Almost all of the widgets come with a dark version.</strong> -
27
 
110
 
111
  == Changelog ==
112
 
113
+ = 1.4.1 =
114
+ * Fixed - Display of titles for widgets
115
+ * Fixed - Check for page id when displaying posts/pages in a grid to avoid infinite loop
116
+
117
  = 1.4 =
118
  * Added - Detailed documentation for all widgets
119
  * Added - Plugin options window for enabling all widgets in one go along with other options.