Widgets for SiteOrigin - Version 1.2.1

Version Description

  • February 3 2016 =
  • Minor bug fixes to the blog widget
Download this release

Release Info

Developer iamadi
Plugin Icon 128x128 Widgets for SiteOrigin
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2.0 to 1.2.1

readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: iamadi
3
  Tags: bundle, widget, button, alert, accordion, audio, video, blog, divider, person, portfolio, tabs, testimonial, siteorigin
4
  Requires at least: 3.9
5
  Tested up to: 4.4
6
- Stable tag: 1.2.0
7
  License: GPLv3 or later
8
 
9
  A few more widgets to play around with. Built on top of the SiteOrigin Widgets Bundle.
@@ -58,6 +58,9 @@ Upload and install these plugins.
58
 
59
  == Changelog ==
60
 
 
 
 
61
  = 1.2.0 - February 2 2016 =
62
  * Added Number counter widget.
63
  * Added Circle counter widget.
3
  Tags: bundle, widget, button, alert, accordion, audio, video, blog, divider, person, portfolio, tabs, testimonial, siteorigin
4
  Requires at least: 3.9
5
  Tested up to: 4.4
6
+ Stable tag: 1.2.1
7
  License: GPLv3 or later
8
 
9
  A few more widgets to play around with. Built on top of the SiteOrigin Widgets Bundle.
58
 
59
  == Changelog ==
60
 
61
+ = 1.2.1 - February 3 2016 =
62
+ * Minor bug fixes to the blog widget
63
+
64
  = 1.2.0 - February 2 2016 =
65
  * Added Number counter widget.
66
  * Added Circle counter widget.
widgets-for-siteorigin.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Widgets for SiteOrigin
5
  * Plugin URI: https://wpinked.com/
6
  * Description: A few more widgets to play around with. Built on top of the SiteOrigin Widgets Bundle.
7
- * Version: 1.2.0
8
  * Author: wpinked
9
  * Author URI: wpinked.com
10
  * License: GPL-2.0+
@@ -18,7 +18,7 @@
18
  *
19
  */
20
 
21
- define('INKED_SO_WIDGETS', '1.2.0');
22
 
23
  require_once ( 'inc/visibility.php' );
24
 
4
  * Plugin Name: Widgets for SiteOrigin
5
  * Plugin URI: https://wpinked.com/
6
  * Description: A few more widgets to play around with. Built on top of the SiteOrigin Widgets Bundle.
7
+ * Version: 1.2.1
8
  * Author: wpinked
9
  * Author URI: wpinked.com
10
  * License: GPL-2.0+
18
  *
19
  */
20
 
21
+ define('INKED_SO_WIDGETS', '1.2.1');
22
 
23
  require_once ( 'inc/visibility.php' );
24
 
widgets/ink-blgs-widget/ink-blgs-widget.php CHANGED
@@ -203,7 +203,7 @@ class Inked_Blog_SO_Widget extends SiteOrigin_Widget {
203
 
204
  'title-tag' => array(
205
  'type' => 'select',
206
- 'label' => __( 'Text Align', 'wpinked-widgets' ),
207
  'default' => 'h2',
208
  'options' => array(
209
  'h1' => __( 'h1', 'wpinked-widgets' ),
203
 
204
  'title-tag' => array(
205
  'type' => 'select',
206
+ 'label' => __( 'Title Tag', 'wpinked-widgets' ),
207
  'default' => 'h2',
208
  'options' => array(
209
  'h1' => __( 'h1', 'wpinked-widgets' ),
widgets/ink-blgs-widget/tpl/thumb-above.php CHANGED
@@ -40,7 +40,7 @@ $count = 1;
40
  // Setting up posts query
41
  global $paged, $query_result;
42
 
43
- $this_post = $post->ID;
44
 
45
  $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
46
 
@@ -51,6 +51,10 @@ if ( $instance['pagination']['activate'] ):
51
  $processed_query['paged'] = $paged;
52
  endif;
53
 
 
 
 
 
54
  $query_result = new WP_Query( $processed_query );
55
  ?>
56
 
40
  // Setting up posts query
41
  global $paged, $query_result;
42
 
43
+ $this_post = get_the_ID();
44
 
45
  $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
46
 
51
  $processed_query['paged'] = $paged;
52
  endif;
53
 
54
+ if( $instance['current'] ):
55
+ $processed_query['post__not_in'] = array($this_post);
56
+ endif;
57
+
58
  $query_result = new WP_Query( $processed_query );
59
  ?>
60
 
widgets/ink-blgs-widget/tpl/thumb-behind.php CHANGED
@@ -40,6 +40,8 @@ $count = 1;
40
  // Setting up posts query
41
  global $paged, $query_result;
42
 
 
 
43
  $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
44
 
45
  $post_selector_pseudo_query = $instance['posts'];
@@ -49,6 +51,10 @@ if ( $instance['pagination']['activate'] ):
49
  $processed_query['paged'] = $paged;
50
  endif;
51
 
 
 
 
 
52
  $query_result = new WP_Query( $processed_query );
53
  ?>
54
 
40
  // Setting up posts query
41
  global $paged, $query_result;
42
 
43
+ $this_post = get_the_ID();
44
+
45
  $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
46
 
47
  $post_selector_pseudo_query = $instance['posts'];
51
  $processed_query['paged'] = $paged;
52
  endif;
53
 
54
+ if( $instance['current'] ):
55
+ $processed_query['post__not_in'] = array($this_post);
56
+ endif;
57
+
58
  $query_result = new WP_Query( $processed_query );
59
  ?>
60
 
widgets/ink-blgs-widget/tpl/thumb-left.php CHANGED
@@ -48,6 +48,8 @@ $count = 1;
48
  // Setting up posts query
49
  global $paged, $query_result;
50
 
 
 
51
  $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
52
 
53
  $post_selector_pseudo_query = $instance['posts'];
@@ -57,6 +59,10 @@ if ( $instance['pagination']['activate'] ):
57
  $processed_query['paged'] = $paged;
58
  endif;
59
 
 
 
 
 
60
  $query_result = new WP_Query( $processed_query );
61
  ?>
62
 
48
  // Setting up posts query
49
  global $paged, $query_result;
50
 
51
+ $this_post = get_the_ID();
52
+
53
  $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
54
 
55
  $post_selector_pseudo_query = $instance['posts'];
59
  $processed_query['paged'] = $paged;
60
  endif;
61
 
62
+ if( $instance['current'] ):
63
+ $processed_query['post__not_in'] = array($this_post);
64
+ endif;
65
+
66
  $query_result = new WP_Query( $processed_query );
67
  ?>
68
 
widgets/ink-blgs-widget/tpl/thumb-right.php CHANGED
@@ -48,6 +48,8 @@ $count = 1;
48
  // Setting up posts query
49
  global $paged, $query_result;
50
 
 
 
51
  $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
52
 
53
  $post_selector_pseudo_query = $instance['posts'];
@@ -57,6 +59,10 @@ if ( $instance['pagination']['activate'] ):
57
  $processed_query['paged'] = $paged;
58
  endif;
59
 
 
 
 
 
60
  $query_result = new WP_Query( $processed_query );
61
  ?>
62
 
48
  // Setting up posts query
49
  global $paged, $query_result;
50
 
51
+ $this_post = get_the_ID();
52
+
53
  $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
54
 
55
  $post_selector_pseudo_query = $instance['posts'];
59
  $processed_query['paged'] = $paged;
60
  endif;
61
 
62
+ if( $instance['current'] ):
63
+ $processed_query['post__not_in'] = array($this_post);
64
+ endif;
65
+
66
  $query_result = new WP_Query( $processed_query );
67
  ?>
68