Recent Posts Widget Extended - Version 0.9.9.2

Version Description

  • 13/08/2015
Download this release

Release Info

Developer satrya
Plugin Icon 128x128 Recent Posts Widget Extended
Version 0.9.9.2
Comparing to
See all releases

Code changes from version 0.9.9.1 to 0.9.9.2

classes/widget.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * The custom recent posts widget.
4
  * This widget gives total control over the output to the user.
5
  *
6
  * @package Recent_Posts_Widget_Extended
@@ -79,7 +79,7 @@ class Recent_Posts_Widget_Extended extends WP_Widget {
79
  * @since 0.1
80
  */
81
  function update( $new_instance, $old_instance ) {
82
-
83
  // Validate post_type submissions
84
  $name = get_post_types( array( 'public' => true ), 'names' );
85
  $types = array();
@@ -99,10 +99,10 @@ class Recent_Posts_Widget_Extended extends WP_Widget {
99
  $instance['ignore_sticky'] = isset( $new_instance['ignore_sticky'] ) ? (bool) $new_instance['ignore_sticky'] : 0;
100
  $instance['limit'] = (int)( $new_instance['limit'] );
101
  $instance['offset'] = (int)( $new_instance['offset'] );
102
- $instance['order'] = $new_instance['order'];
103
- $instance['orderby'] = $new_instance['orderby'];
104
  $instance['post_type'] = $types;
105
- $instance['post_status'] = esc_attr( $new_instance['post_status'] );
106
  $instance['cat'] = $new_instance['cat'];
107
  $instance['tag'] = $new_instance['tag'];
108
  $instance['taxonomy'] = esc_attr( $new_instance['taxonomy'] );
@@ -111,8 +111,10 @@ class Recent_Posts_Widget_Extended extends WP_Widget {
111
  $instance['length'] = (int)( $new_instance['length'] );
112
  $instance['date'] = isset( $new_instance['date'] ) ? (bool) $new_instance['date'] : false;
113
  $instance['date_relative'] = isset( $new_instance['date_relative'] ) ? (bool) $new_instance['date_relative'] : false;
 
114
  $instance['readmore'] = isset( $new_instance['readmore'] ) ? (bool) $new_instance['readmore'] : false;
115
  $instance['readmore_text'] = strip_tags( $new_instance['readmore_text'] );
 
116
 
117
  $instance['thumb'] = isset( $new_instance['thumb'] ) ? (bool) $new_instance['thumb'] : false;
118
  $instance['thumb_height'] = (int)( $new_instance['thumb_height'] );
@@ -149,4 +151,4 @@ class Recent_Posts_Widget_Extended extends WP_Widget {
149
 
150
  }
151
 
152
- }
1
  <?php
2
  /**
3
+ * The custom recent posts widget.
4
  * This widget gives total control over the output to the user.
5
  *
6
  * @package Recent_Posts_Widget_Extended
79
  * @since 0.1
80
  */
81
  function update( $new_instance, $old_instance ) {
82
+
83
  // Validate post_type submissions
84
  $name = get_post_types( array( 'public' => true ), 'names' );
85
  $types = array();
99
  $instance['ignore_sticky'] = isset( $new_instance['ignore_sticky'] ) ? (bool) $new_instance['ignore_sticky'] : 0;
100
  $instance['limit'] = (int)( $new_instance['limit'] );
101
  $instance['offset'] = (int)( $new_instance['offset'] );
102
+ $instance['order'] = stripslashes( $new_instance['order'] );
103
+ $instance['orderby'] = stripslashes( $new_instance['orderby'] );
104
  $instance['post_type'] = $types;
105
+ $instance['post_status'] = stripslashes( $new_instance['post_status'] );
106
  $instance['cat'] = $new_instance['cat'];
107
  $instance['tag'] = $new_instance['tag'];
108
  $instance['taxonomy'] = esc_attr( $new_instance['taxonomy'] );
111
  $instance['length'] = (int)( $new_instance['length'] );
112
  $instance['date'] = isset( $new_instance['date'] ) ? (bool) $new_instance['date'] : false;
113
  $instance['date_relative'] = isset( $new_instance['date_relative'] ) ? (bool) $new_instance['date_relative'] : false;
114
+ $instance['date_modified'] = isset( $new_instance['date_modified'] ) ? (bool) $new_instance['date_modified'] : false;
115
  $instance['readmore'] = isset( $new_instance['readmore'] ) ? (bool) $new_instance['readmore'] : false;
116
  $instance['readmore_text'] = strip_tags( $new_instance['readmore_text'] );
117
+ $instance['comment_count'] = isset( $new_instance['comment_count'] ) ? (bool) $new_instance['comment_count'] : false;
118
 
119
  $instance['thumb'] = isset( $new_instance['thumb'] ) ? (bool) $new_instance['thumb'] : false;
120
  $instance['thumb_height'] = (int)( $new_instance['thumb_height'] );
151
 
152
  }
153
 
154
+ }
includes/form.php CHANGED
@@ -182,7 +182,7 @@
182
 
183
  <p>
184
  <input id="<?php echo $this->get_field_id( 'thumb' ); ?>" name="<?php echo $this->get_field_name( 'thumb' ); ?>" type="checkbox" <?php checked( $instance['thumb'] ); ?> />
185
- <label class="input-checkbox" for="<?php echo $this->get_field_id( 'thumb' ); ?>">
186
  <?php _e( 'Display Thumbnail', 'rpwe' ); ?>
187
  </label>
188
  </p>
@@ -212,7 +212,7 @@
212
 
213
  <p>
214
  <input id="<?php echo $this->get_field_id( 'excerpt' ); ?>" name="<?php echo $this->get_field_name( 'excerpt' ); ?>" type="checkbox" <?php checked( $instance['excerpt'] ); ?> />
215
- <label class="input-checkbox" for="<?php echo $this->get_field_id( 'excerpt' ); ?>">
216
  <?php _e( 'Display Excerpt', 'rpwe' ); ?>
217
  </label>
218
  </p>
@@ -226,7 +226,7 @@
226
 
227
  <p>
228
  <input id="<?php echo $this->get_field_id( 'readmore' ); ?>" name="<?php echo $this->get_field_name( 'readmore' ); ?>" type="checkbox" <?php checked( $instance['readmore'] ); ?> />
229
- <label class="input-checkbox" for="<?php echo $this->get_field_id( 'readmore' ); ?>">
230
  <?php _e( 'Display Readmore', 'rpwe' ); ?>
231
  </label>
232
  </p>
@@ -237,19 +237,35 @@
237
  </label>
238
  <input class="widefat" id="<?php echo $this->get_field_id( 'readmore_text' ); ?>" name="<?php echo $this->get_field_name( 'readmore_text' ); ?>" type="text" value="<?php echo strip_tags( $instance['readmore_text'] ); ?>" />
239
  </p>
 
 
 
 
 
 
 
240
 
241
  <p>
242
  <input id="<?php echo $this->get_field_id( 'date' ); ?>" name="<?php echo $this->get_field_name( 'date' ); ?>" type="checkbox" <?php checked( $instance['date'] ); ?> />
243
- <label class="input-checkbox" for="<?php echo $this->get_field_id( 'date' ); ?>">
244
  <?php _e( 'Display Date', 'rpwe' ); ?>
245
  </label>
246
  </p>
 
 
 
 
 
 
 
 
247
  <p>
248
  <input id="<?php echo $this->get_field_id( 'date_relative' ); ?>" name="<?php echo $this->get_field_name( 'date_relative' ); ?>" type="checkbox" <?php checked( $instance['date_relative'] ); ?> />
249
  <label for="<?php echo $this->get_field_id( 'date_relative' ); ?>">
250
  <?php _e( 'Use Relative Date. eg: 5 days ago', 'rpwe' ); ?>
251
  </label>
252
  </p>
 
253
 
254
  </div>
255
 
@@ -257,7 +273,7 @@
257
 
258
  <p>
259
  <input id="<?php echo $this->get_field_id( 'styles_default' ); ?>" name="<?php echo $this->get_field_name( 'styles_default' ); ?>" type="checkbox" <?php checked( $instance['styles_default'] ); ?> />
260
- <label class="input-checkbox" for="<?php echo $this->get_field_id( 'styles_default' ); ?>">
261
  <?php _e( 'Use Default Styles', 'rpwe' ); ?>
262
  </label>
263
  </p>
@@ -268,4 +284,4 @@
268
  </label>
269
  <textarea class="widefat" id="<?php echo $this->get_field_id( 'css' ); ?>" name="<?php echo $this->get_field_name( 'css' ); ?>" style="height:180px;"><?php echo $instance['css']; ?></textarea>
270
  <small><?php _e( 'If you turn off the default styles, you can use these css code to customize the recent posts style.', 'rpwe' ); ?></small>
271
- </p>
182
 
183
  <p>
184
  <input id="<?php echo $this->get_field_id( 'thumb' ); ?>" name="<?php echo $this->get_field_name( 'thumb' ); ?>" type="checkbox" <?php checked( $instance['thumb'] ); ?> />
185
+ <label for="<?php echo $this->get_field_id( 'thumb' ); ?>">
186
  <?php _e( 'Display Thumbnail', 'rpwe' ); ?>
187
  </label>
188
  </p>
212
 
213
  <p>
214
  <input id="<?php echo $this->get_field_id( 'excerpt' ); ?>" name="<?php echo $this->get_field_name( 'excerpt' ); ?>" type="checkbox" <?php checked( $instance['excerpt'] ); ?> />
215
+ <label for="<?php echo $this->get_field_id( 'excerpt' ); ?>">
216
  <?php _e( 'Display Excerpt', 'rpwe' ); ?>
217
  </label>
218
  </p>
226
 
227
  <p>
228
  <input id="<?php echo $this->get_field_id( 'readmore' ); ?>" name="<?php echo $this->get_field_name( 'readmore' ); ?>" type="checkbox" <?php checked( $instance['readmore'] ); ?> />
229
+ <label for="<?php echo $this->get_field_id( 'readmore' ); ?>">
230
  <?php _e( 'Display Readmore', 'rpwe' ); ?>
231
  </label>
232
  </p>
237
  </label>
238
  <input class="widefat" id="<?php echo $this->get_field_id( 'readmore_text' ); ?>" name="<?php echo $this->get_field_name( 'readmore_text' ); ?>" type="text" value="<?php echo strip_tags( $instance['readmore_text'] ); ?>" />
239
  </p>
240
+
241
+ <p>
242
+ <input id="<?php echo $this->get_field_id( 'comment_count' ); ?>" name="<?php echo $this->get_field_name( 'comment_count' ); ?>" type="checkbox" <?php checked( $instance['comment_count'] ); ?> />
243
+ <label for="<?php echo $this->get_field_id( 'comment_count' ); ?>">
244
+ <?php _e( 'Display Comment Count', 'rpwe' ); ?>
245
+ </label>
246
+ </p>
247
 
248
  <p>
249
  <input id="<?php echo $this->get_field_id( 'date' ); ?>" name="<?php echo $this->get_field_name( 'date' ); ?>" type="checkbox" <?php checked( $instance['date'] ); ?> />
250
+ <label for="<?php echo $this->get_field_id( 'date' ); ?>">
251
  <?php _e( 'Display Date', 'rpwe' ); ?>
252
  </label>
253
  </p>
254
+
255
+ <p>
256
+ <input id="<?php echo $this->get_field_id( 'date_modified' ); ?>" name="<?php echo $this->get_field_name( 'date_modified' ); ?>" type="checkbox" <?php checked( $instance['date_modified'] ); ?> />
257
+ <label for="<?php echo $this->get_field_id( 'date_modified' ); ?>">
258
+ <?php _e( 'Display Modification Date', 'rpwe' ); ?>
259
+ </label>
260
+ </p>
261
+
262
  <p>
263
  <input id="<?php echo $this->get_field_id( 'date_relative' ); ?>" name="<?php echo $this->get_field_name( 'date_relative' ); ?>" type="checkbox" <?php checked( $instance['date_relative'] ); ?> />
264
  <label for="<?php echo $this->get_field_id( 'date_relative' ); ?>">
265
  <?php _e( 'Use Relative Date. eg: 5 days ago', 'rpwe' ); ?>
266
  </label>
267
  </p>
268
+
269
 
270
  </div>
271
 
273
 
274
  <p>
275
  <input id="<?php echo $this->get_field_id( 'styles_default' ); ?>" name="<?php echo $this->get_field_name( 'styles_default' ); ?>" type="checkbox" <?php checked( $instance['styles_default'] ); ?> />
276
+ <label for="<?php echo $this->get_field_id( 'styles_default' ); ?>">
277
  <?php _e( 'Use Default Styles', 'rpwe' ); ?>
278
  </label>
279
  </p>
284
  </label>
285
  <textarea class="widefat" id="<?php echo $this->get_field_id( 'css' ); ?>" name="<?php echo $this->get_field_name( 'css' ); ?>" style="height:180px;"><?php echo $instance['css']; ?></textarea>
286
  <small><?php _e( 'If you turn off the default styles, you can use these css code to customize the recent posts style.', 'rpwe' ); ?></small>
287
+ </p>
includes/functions.php CHANGED
@@ -11,12 +11,12 @@
11
 
12
  /**
13
  * Sets up the default arguments.
14
- *
15
  * @since 0.9.4
16
  */
17
  function rpwe_get_default_args() {
18
 
19
- $css_defaults = ".rpwe-block ul{\nlist-style: none !important;\nmargin-left: 0 !important;\npadding-left: 0 !important;\n}\n\n.rpwe-block li{\nborder-bottom: 1px solid #eee;\nmargin-bottom: 10px;\npadding-bottom: 10px;\nlist-style-type: none;\n}\n\n.rpwe-block a{\ndisplay: inline !important;\ntext-decoration: none;\n}\n\n.rpwe-block h3{\nbackground: none !important;\nclear: none;\nmargin-bottom: 0 !important;\nmargin-top: 0 !important;\nfont-weight: 400;\nfont-size: 12px !important;\nline-height: 1.5em;\n}\n\n.rpwe-thumb{\nborder: 1px solid #eee !important;\nbox-shadow: none !important;\nmargin: 2px 10px 2px 0;\npadding: 3px !important;\n}\n\n.rpwe-summary{\nfont-size: 12px;\n}\n\n.rpwe-time{\ncolor: #bbb;\nfont-size: 11px;\n}\n\n.rpwe-alignleft{\ndisplay: inline;\nfloat: left;\n}\n\n.rpwe-alignright{\ndisplay: inline;\nfloat: right;\n}\n\n.rpwe-aligncenter{\ndisplay: block;\nmargin-left: auto;\nmargin-right: auto;\n}\n\n.rpwe-clearfix:before,\n.rpwe-clearfix:after{\ncontent: \"\";\ndisplay: table !important;\n}\n\n.rpwe-clearfix:after{\nclear: both;\n}\n\n.rpwe-clearfix{\nzoom: 1;\n}\n";
20
 
21
  $defaults = array(
22
  'title' => esc_attr__( 'Recent Posts', 'rpwe' ),
@@ -42,8 +42,10 @@ function rpwe_get_default_args() {
42
  'thumb_align' => 'rpwe-alignleft',
43
  'date' => true,
44
  'date_relative' => false,
 
45
  'readmore' => false,
46
  'readmore_text' => __( 'Read More &raquo;', 'rpwe' ),
 
47
 
48
  'styles_default' => true,
49
  'css' => $css_defaults,
@@ -60,7 +62,7 @@ function rpwe_get_default_args() {
60
 
61
  /**
62
  * Outputs the recent posts.
63
- *
64
  * @since 0.9.4
65
  */
66
  function rpwe_recent_posts( $args = array() ) {
@@ -97,12 +99,13 @@ function rpwe_get_recent_posts( $args = array() ) {
97
  if ( $args['styles_default'] === false && ! empty( $args['css'] ) ) {
98
  echo '<style>' . $args['css'] . '</style>';
99
  }
100
-
101
  // Get the posts query.
102
  $posts = rpwe_get_posts( $args );
103
-
104
  if ( $posts->have_posts() ) :
105
 
 
106
  $html = '<div ' . ( ! empty( $args['cssID'] ) ? 'id="' . sanitize_html_class( $args['cssID'] ) . '"' : '' ) . ' class="rpwe-block ' . ( ! empty( $args['css_class'] ) ? '' . sanitize_html_class( $args['css_class'] ) . '' : '' ) . '">';
107
 
108
  $html .= '<ul class="rpwe-ul">';
@@ -129,7 +132,7 @@ function rpwe_get_recent_posts( $args = array() ) {
129
  else :
130
  $html .= get_the_post_thumbnail( get_the_ID(),
131
  array( $args['thumb_width'], $args['thumb_height'] ),
132
- array(
133
  'class' => $args['thumb_align'] . ' rpwe-thumb the-post-thumbnail',
134
  'alt' => esc_attr( get_the_title() )
135
  )
@@ -139,7 +142,7 @@ function rpwe_get_recent_posts( $args = array() ) {
139
 
140
  // If no post thumbnail found, check if Get The Image plugin exist and display the image.
141
  elseif ( function_exists( 'get_the_image' ) ) :
142
- $html .= get_the_image( array(
143
  'height' => (int) $args['thumb_height'],
144
  'width' => (int) $args['thumb_width'],
145
  'image_class' => esc_attr( $args['thumb_align'] ) . ' rpwe-thumb get-the-image',
@@ -171,6 +174,23 @@ function rpwe_get_recent_posts( $args = array() ) {
171
  $date = sprintf( __( '%s ago', 'rpwe' ), human_time_diff( get_the_date( 'U' ), current_time( 'timestamp' ) ) );
172
  endif;
173
  $html .= '<time class="rpwe-time published" datetime="' . esc_html( get_the_date( 'c' ) ) . '">' . esc_html( $date ) . '</time>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  endif;
175
 
176
  if ( $args['excerpt'] ) :
@@ -197,7 +217,7 @@ function rpwe_get_recent_posts( $args = array() ) {
197
 
198
  // Allow devs to hook in stuff after the loop.
199
  do_action( 'rpwe_after_loop' );
200
-
201
  // Return the posts markup.
202
  return $args['before'] . apply_filters( 'rpwe_markup', $html ) . $args['after'];
203
 
@@ -255,7 +275,7 @@ function rpwe_get_posts( $args = array() ) {
255
  'taxonomy' => $slug,
256
  'field' => 'id',
257
  'terms' => $ids,
258
- 'operator' => $operator
259
  );
260
  }
261
 
@@ -268,7 +288,7 @@ function rpwe_get_posts( $args = array() ) {
268
 
269
  // Perform the query.
270
  $posts = new WP_Query( $query );
271
-
272
  return $posts;
273
 
274
  }
@@ -281,7 +301,7 @@ function rpwe_get_posts( $args = array() ) {
281
  function rpwe_custom_styles() {
282
  ?>
283
  <style>
284
- .rpwe-block ul{list-style:none!important;margin-left:0!important;padding-left:0!important;}.rpwe-block li{border-bottom:1px solid #eee;margin-bottom:10px;padding-bottom:10px;list-style-type: none;}.rpwe-block a{display:inline!important;text-decoration:none;}.rpwe-block h3{background:none!important;clear:none;margin-bottom:0!important;margin-top:0!important;font-weight:400;font-size:12px!important;line-height:1.5em;}.rpwe-thumb{border:1px solid #EEE!important;box-shadow:none!important;margin:2px 10px 2px 0;padding:3px!important;}.rpwe-summary{font-size:12px;}.rpwe-time{color:#bbb;font-size:11px;}.rpwe-alignleft{display:inline;float:left;}.rpwe-alignright{display:inline;float:right;}.rpwe-aligncenter{display:block;margin-left: auto;margin-right: auto;}.rpwe-clearfix:before,.rpwe-clearfix:after{content:"";display:table !important;}.rpwe-clearfix:after{clear:both;}.rpwe-clearfix{zoom:1;}
285
  </style>
286
  <?php
287
- }
11
 
12
  /**
13
  * Sets up the default arguments.
14
+ *
15
  * @since 0.9.4
16
  */
17
  function rpwe_get_default_args() {
18
 
19
+ $css_defaults = ".rpwe-block ul{\nlist-style: none !important;\nmargin-left: 0 !important;\npadding-left: 0 !important;\n}\n\n.rpwe-block li{\nborder-bottom: 1px solid #eee;\nmargin-bottom: 10px;\npadding-bottom: 10px;\nlist-style-type: none;\n}\n\n.rpwe-block a{\ndisplay: inline !important;\ntext-decoration: none;\n}\n\n.rpwe-block h3{\nbackground: none !important;\nclear: none;\nmargin-bottom: 0 !important;\nmargin-top: 0 !important;\nfont-weight: 400;\nfont-size: 12px !important;\nline-height: 1.5em;\n}\n\n.rpwe-thumb{\nborder: 1px solid #eee !important;\nbox-shadow: none !important;\nmargin: 2px 10px 2px 0;\npadding: 3px !important;\n}\n\n.rpwe-summary{\nfont-size: 12px;\n}\n\n.rpwe-time{\ncolor: #bbb;\nfont-size: 11px;\n}\n\n.rpwe-comment{\ncolor: #bbb;\nfont-size: 11px;\npadding-left: 5px;\n}\n\n.rpwe-alignleft{\ndisplay: inline;\nfloat: left;\n}\n\n.rpwe-alignright{\ndisplay: inline;\nfloat: right;\n}\n\n.rpwe-aligncenter{\ndisplay: block;\nmargin-left: auto;\nmargin-right: auto;\n}\n\n.rpwe-clearfix:before,\n.rpwe-clearfix:after{\ncontent: \"\";\ndisplay: table !important;\n}\n\n.rpwe-clearfix:after{\nclear: both;\n}\n\n.rpwe-clearfix{\nzoom: 1;\n}\n";
20
 
21
  $defaults = array(
22
  'title' => esc_attr__( 'Recent Posts', 'rpwe' ),
42
  'thumb_align' => 'rpwe-alignleft',
43
  'date' => true,
44
  'date_relative' => false,
45
+ 'date_modified' => false,
46
  'readmore' => false,
47
  'readmore_text' => __( 'Read More &raquo;', 'rpwe' ),
48
+ 'comment_count' => false,
49
 
50
  'styles_default' => true,
51
  'css' => $css_defaults,
62
 
63
  /**
64
  * Outputs the recent posts.
65
+ *
66
  * @since 0.9.4
67
  */
68
  function rpwe_recent_posts( $args = array() ) {
99
  if ( $args['styles_default'] === false && ! empty( $args['css'] ) ) {
100
  echo '<style>' . $args['css'] . '</style>';
101
  }
102
+
103
  // Get the posts query.
104
  $posts = rpwe_get_posts( $args );
105
+
106
  if ( $posts->have_posts() ) :
107
 
108
+ // Recent posts wrapper
109
  $html = '<div ' . ( ! empty( $args['cssID'] ) ? 'id="' . sanitize_html_class( $args['cssID'] ) . '"' : '' ) . ' class="rpwe-block ' . ( ! empty( $args['css_class'] ) ? '' . sanitize_html_class( $args['css_class'] ) . '' : '' ) . '">';
110
 
111
  $html .= '<ul class="rpwe-ul">';
132
  else :
133
  $html .= get_the_post_thumbnail( get_the_ID(),
134
  array( $args['thumb_width'], $args['thumb_height'] ),
135
+ array(
136
  'class' => $args['thumb_align'] . ' rpwe-thumb the-post-thumbnail',
137
  'alt' => esc_attr( get_the_title() )
138
  )
142
 
143
  // If no post thumbnail found, check if Get The Image plugin exist and display the image.
144
  elseif ( function_exists( 'get_the_image' ) ) :
145
+ $html .= get_the_image( array(
146
  'height' => (int) $args['thumb_height'],
147
  'width' => (int) $args['thumb_width'],
148
  'image_class' => esc_attr( $args['thumb_align'] ) . ' rpwe-thumb get-the-image',
174
  $date = sprintf( __( '%s ago', 'rpwe' ), human_time_diff( get_the_date( 'U' ), current_time( 'timestamp' ) ) );
175
  endif;
176
  $html .= '<time class="rpwe-time published" datetime="' . esc_html( get_the_date( 'c' ) ) . '">' . esc_html( $date ) . '</time>';
177
+ elseif ( $args['date_modified'] ) : // if both date functions are provided, we use date to be backwards compatible
178
+ $date = get_the_modified_date();
179
+ if ( $args['date_relative'] ) :
180
+ $date = sprintf( __( '%s ago', 'rpwe' ), human_time_diff( get_the_modified_date( 'U' ), current_time( 'timestamp' ) ) );
181
+ endif;
182
+ $html .= '<time class="rpwe-time modfied" datetime="' . esc_html( get_the_modified_date( 'c' ) ) . '">' . esc_html( $date ) . '</time>';
183
+ endif;
184
+
185
+ if ( $args['comment_count'] ) :
186
+ if ( get_comments_number() == 0 ) {
187
+ $comments = __( 'No Comments', 'rpwe' );
188
+ } elseif ( get_comments_number() > 1 ) {
189
+ $comments = sprintf( __( '%s Comments', 'rpwe' ), get_comments_number() );
190
+ } else {
191
+ $comments = __( '1 Comment', 'rpwe' );
192
+ }
193
+ $html .= '<a class="rpwe-comment comment-count" href="' . get_comments_link() . '">' . $comments . '</a>';
194
  endif;
195
 
196
  if ( $args['excerpt'] ) :
217
 
218
  // Allow devs to hook in stuff after the loop.
219
  do_action( 'rpwe_after_loop' );
220
+
221
  // Return the posts markup.
222
  return $args['before'] . apply_filters( 'rpwe_markup', $html ) . $args['after'];
223
 
275
  'taxonomy' => $slug,
276
  'field' => 'id',
277
  'terms' => $ids,
278
+ 'operator' => $operator
279
  );
280
  }
281
 
288
 
289
  // Perform the query.
290
  $posts = new WP_Query( $query );
291
+
292
  return $posts;
293
 
294
  }
301
  function rpwe_custom_styles() {
302
  ?>
303
  <style>
304
+ .rpwe-block ul{list-style:none!important;margin-left:0!important;padding-left:0!important;}.rpwe-block li{border-bottom:1px solid #eee;margin-bottom:10px;padding-bottom:10px;list-style-type: none;}.rpwe-block a{display:inline!important;text-decoration:none;}.rpwe-block h3{background:none!important;clear:none;margin-bottom:0!important;margin-top:0!important;font-weight:400;font-size:12px!important;line-height:1.5em;}.rpwe-thumb{border:1px solid #EEE!important;box-shadow:none!important;margin:2px 10px 2px 0;padding:3px!important;}.rpwe-summary{font-size:12px;}.rpwe-time{color:#bbb;font-size:11px;}.rpwe-comment{color:#bbb;font-size:11px;padding-left:5px;}.rpwe-alignleft{display:inline;float:left;}.rpwe-alignright{display:inline;float:right;}.rpwe-aligncenter{display:block;margin-left: auto;margin-right: auto;}.rpwe-clearfix:before,.rpwe-clearfix:after{content:"";display:table !important;}.rpwe-clearfix:after{clear:both;}.rpwe-clearfix{zoom:1;}
305
  </style>
306
  <?php
307
+ }
languages/rpwe-pt_BR.mo ADDED
Binary file
languages/rpwe-pt_BR.po ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2014 Satrya
2
+ # This file is distributed under the same license as the Recent Posts Widget Extended package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Recent Posts Widget Extended 0.9.9\n"
6
+ "Report-Msgid-Bugs-To: http://satrya.me/\n"
7
+ "POT-Creation-Date: 2014-12-06 07:06:48+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2015-05-19 16:59-0300\n"
12
+ "Last-Translator: Gil Barbara <gilbarbara@gmail.com>\n"
13
+ "Language-Team: Satrya (satrya@satrya.me)\n"
14
+ "X-Generator: Poedit 1.7.7\n"
15
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
16
+ "X-Poedit-Basepath: ..\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c;"
19
+ "_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
20
+ "X-Textdomain-Support: yes\n"
21
+ "Language: pt_BR\n"
22
+ "X-Poedit-SearchPath-0: .\n"
23
+
24
+ #: classes/widget.php:24
25
+ msgid ""
26
+ "An advanced widget that gives you total control over the output of your site’s most recent "
27
+ "Posts."
28
+ msgstr ""
29
+ "Um widget avançado que lhe dá controle total sobre a saída dos tópicos mais recentes do seu "
30
+ "site."
31
+
32
+ #: classes/widget.php:35
33
+ msgid "Recent Posts Extended"
34
+ msgstr "Tópicos Recentes Extendido"
35
+
36
+ #: includes/form.php:17 includes/form.php:112
37
+ msgid "Title"
38
+ msgstr "Título"
39
+
40
+ #: includes/form.php:24
41
+ msgid "Title URL"
42
+ msgstr "Título URL"
43
+
44
+ #: includes/form.php:31
45
+ msgid "CSS ID"
46
+ msgstr "ID CSS"
47
+
48
+ #: includes/form.php:38
49
+ msgid "CSS Class"
50
+ msgstr "Classe CSS"
51
+
52
+ #: includes/form.php:45
53
+ msgid "HTML or text before the recent posts"
54
+ msgstr "HTML ou texto antes dos tópicos recentes"
55
+
56
+ #: includes/form.php:52
57
+ msgid "HTML or text after the recent posts"
58
+ msgstr "HTML ou texto após os tópicos recentes"
59
+
60
+ #: includes/form.php:64
61
+ msgid "Ignore sticky posts"
62
+ msgstr "Ignorar Tópicos Fixos"
63
+
64
+ #: includes/form.php:70
65
+ msgid "Post Types"
66
+ msgstr "Tipos de Tópicos"
67
+
68
+ #: includes/form.php:86
69
+ msgid "Post Status"
70
+ msgstr "Estado dos Tópicos"
71
+
72
+ #: includes/form.php:97
73
+ msgid "Order"
74
+ msgstr "Ordem"
75
+
76
+ #: includes/form.php:100
77
+ msgid "Descending"
78
+ msgstr "Descendente"
79
+
80
+ #: includes/form.php:101
81
+ msgid "Ascending"
82
+ msgstr "Ascendente"
83
+
84
+ #: includes/form.php:107
85
+ msgid "Orderby"
86
+ msgstr "Ordenar por"
87
+
88
+ #: includes/form.php:110
89
+ msgid "ID"
90
+ msgstr "ID"
91
+
92
+ #: includes/form.php:111
93
+ msgid "Author"
94
+ msgstr "Autor"
95
+
96
+ #: includes/form.php:113
97
+ msgid "Date"
98
+ msgstr "Data"
99
+
100
+ #: includes/form.php:114
101
+ msgid "Modified"
102
+ msgstr "Modificado"
103
+
104
+ #: includes/form.php:115
105
+ msgid "Random"
106
+ msgstr "Aleatório"
107
+
108
+ #: includes/form.php:116
109
+ msgid "Comment Count"
110
+ msgstr "Contagem de comentários"
111
+
112
+ #: includes/form.php:117
113
+ msgid "Menu Order"
114
+ msgstr "Ordem do Menu"
115
+
116
+ #: includes/form.php:123
117
+ msgid "Limit to Category"
118
+ msgstr "Limitar para Categoria"
119
+
120
+ #: includes/form.php:139
121
+ msgid "Limit to Tag"
122
+ msgstr "Limitar para Tag"
123
+
124
+ #: includes/form.php:155
125
+ msgid "Limit to Taxonomy"
126
+ msgstr "Limitar para Taxonomia"
127
+
128
+ #: includes/form.php:158
129
+ msgid "Ex: category=1,2,4&amp;post_tag=6,12"
130
+ msgstr "Ex: category=1,2,4&amp;post_tag=6,12"
131
+
132
+ #: includes/form.php:159
133
+ msgid "Available: "
134
+ msgstr "Disponível:"
135
+
136
+ #: includes/form.php:168
137
+ msgid "Number of posts to show"
138
+ msgstr "Número de tópicos para mostrar"
139
+
140
+ #: includes/form.php:175
141
+ msgid "Offset"
142
+ msgstr "Deslocamento"
143
+
144
+ #: includes/form.php:178
145
+ msgid "The number of posts to skip"
146
+ msgstr "O número de tópicos para ignorar"
147
+
148
+ #: includes/form.php:186
149
+ msgid "Display Thumbnail"
150
+ msgstr "Mostrar Miniatura"
151
+
152
+ #: includes/form.php:192
153
+ msgid "Thumbnail (height,width,align)"
154
+ msgstr "Miniatura (altura,largura,alinhamento)"
155
+
156
+ #: includes/form.php:197
157
+ msgid "Left"
158
+ msgstr "Esquerda"
159
+
160
+ #: includes/form.php:198
161
+ msgid "Right"
162
+ msgstr "Direita"
163
+
164
+ #: includes/form.php:199
165
+ msgid "Center"
166
+ msgstr "Centro"
167
+
168
+ #: includes/form.php:205
169
+ msgid "Default Thumbnail"
170
+ msgstr "Miniatura Padrão"
171
+
172
+ #: includes/form.php:208
173
+ msgid "Leave it blank to disable."
174
+ msgstr "Deixe em branco para desabilitar."
175
+
176
+ #: includes/form.php:216
177
+ msgid "Display Excerpt"
178
+ msgstr "Exibir Resumo"
179
+
180
+ #: includes/form.php:222
181
+ msgid "Excerpt Length"
182
+ msgstr "Comprimento do Resumo"
183
+
184
+ #: includes/form.php:230
185
+ msgid "Display Readmore"
186
+ msgstr "Mostrar Leia mais"
187
+
188
+ #: includes/form.php:236
189
+ msgid "Readmore Text"
190
+ msgstr "Texto do Leia mais"
191
+
192
+ #: includes/form.php:244
193
+ msgid "Display Date"
194
+ msgstr "Mostrar Data"
195
+
196
+ #: includes/form.php:250
197
+ msgid "Use Relative Date. eg: 5 days ago"
198
+ msgstr "Usar Datas Relativas. ex: 5 dias atrás"
199
+
200
+ #: includes/form.php:261
201
+ msgid "Use Default Styles"
202
+ msgstr "Usar Estilos Padrão"
203
+
204
+ #: includes/form.php:267
205
+ msgid "Custom CSS"
206
+ msgstr "CSS Personalizado"
207
+
208
+ #: includes/form.php:270
209
+ msgid ""
210
+ "If you turn off the default styles, you can use these css code to customize the recent "
211
+ "posts style."
212
+ msgstr ""
213
+ "Se você desativar os estilos padrão, você pode usar esses códigos css para personalizar o "
214
+ "estilo de tópicos recentes."
215
+
216
+ #: includes/functions.php:22
217
+ msgid "Recent Posts"
218
+ msgstr "Tópicos Recentes"
219
+
220
+ #: includes/functions.php:46
221
+ msgid "Read More &raquo;"
222
+ msgstr "Leia Mais &raquo;"
223
+
224
+ #: includes/functions.php:166
225
+ msgid "Permalink to %s"
226
+ msgstr "Link Permanente para %s"
227
+
228
+ #: includes/functions.php:171
229
+ msgid "%s ago"
230
+ msgstr "%s atrás"
231
+
232
+ #. Plugin Name of the plugin/theme
233
+ msgid "Recent Posts Widget Extended"
234
+ msgstr "Widget de Tópicos Recentes Extendido"
235
+
236
+ #. Plugin URI of the plugin/theme
237
+ msgid "http://satrya.me/wordpress-plugins/recent-posts-widget-extended/"
238
+ msgstr "http://satrya.me/wordpress-plugins/recent-posts-widget-extended/"
239
+
240
+ #. Description of the plugin/theme
241
+ msgid ""
242
+ "Enables advanced widget that gives you total control over the output of your site’s most "
243
+ "recent Posts."
244
+ msgstr ""
245
+ "Habilita Widget avançada que lhe dá controle total sobre a saída dos tópicos mais recentes "
246
+ "do seu site."
247
+
248
+ #. Author of the plugin/theme
249
+ msgid "Satrya"
250
+ msgstr "Satrya"
251
+
252
+ #. Author URI of the plugin/theme
253
+ msgid "http://satrya.me/"
254
+ msgstr "http://satrya.me/"
languages/rpwe.pot CHANGED
@@ -2,16 +2,16 @@
2
  # This file is distributed under the same license as the Recent Posts Widget Extended package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Recent Posts Widget Extended 0.9.9.1\n"
6
  "Report-Msgid-Bugs-To: http://satrya.me/\n"
7
- "POT-Creation-Date: 2015-07-12 08:07:59+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: Satrya (satrya@satrya.me)\n"
13
  "Language-Team: Satrya (satrya@satrya.me)\n"
14
- "X-Generator: grunt-wp-i18n 0.5.2\n"
15
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-Language: English\n"
@@ -190,22 +190,30 @@ msgid "Readmore Text"
190
  msgstr ""
191
 
192
  #: includes/form.php:244
 
 
 
 
193
  msgid "Display Date"
194
  msgstr ""
195
 
196
- #: includes/form.php:250
 
 
 
 
197
  msgid "Use Relative Date. eg: 5 days ago"
198
  msgstr ""
199
 
200
- #: includes/form.php:261
201
  msgid "Use Default Styles"
202
  msgstr ""
203
 
204
- #: includes/form.php:267
205
  msgid "Custom CSS"
206
  msgstr ""
207
 
208
- #: includes/form.php:270
209
  msgid ""
210
  "If you turn off the default styles, you can use these css code to customize "
211
  "the recent posts style."
@@ -215,18 +223,30 @@ msgstr ""
215
  msgid "Recent Posts"
216
  msgstr ""
217
 
218
- #: includes/functions.php:46
219
  msgid "Read More &raquo;"
220
  msgstr ""
221
 
222
- #: includes/functions.php:166
223
  msgid "Permalink to %s"
224
  msgstr ""
225
 
226
- #: includes/functions.php:171
227
  msgid "%s ago"
228
  msgstr ""
229
 
 
 
 
 
 
 
 
 
 
 
 
 
230
  #. Plugin Name of the plugin/theme
231
  msgid "Recent Posts Widget Extended"
232
  msgstr ""
2
  # This file is distributed under the same license as the Recent Posts Widget Extended package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Recent Posts Widget Extended 0.9.9.2\n"
6
  "Report-Msgid-Bugs-To: http://satrya.me/\n"
7
+ "POT-Creation-Date: 2015-08-13 18:31:00+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: Satrya (satrya@satrya.me)\n"
13
  "Language-Team: Satrya (satrya@satrya.me)\n"
14
+ "X-Generator: grunt-wp-i18n 0.5.3\n"
15
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-Language: English\n"
190
  msgstr ""
191
 
192
  #: includes/form.php:244
193
+ msgid "Display Comment Count"
194
+ msgstr ""
195
+
196
+ #: includes/form.php:251
197
  msgid "Display Date"
198
  msgstr ""
199
 
200
+ #: includes/form.php:258
201
+ msgid "Display Modification Date"
202
+ msgstr ""
203
+
204
+ #: includes/form.php:265
205
  msgid "Use Relative Date. eg: 5 days ago"
206
  msgstr ""
207
 
208
+ #: includes/form.php:277
209
  msgid "Use Default Styles"
210
  msgstr ""
211
 
212
+ #: includes/form.php:283
213
  msgid "Custom CSS"
214
  msgstr ""
215
 
216
+ #: includes/form.php:286
217
  msgid ""
218
  "If you turn off the default styles, you can use these css code to customize "
219
  "the recent posts style."
223
  msgid "Recent Posts"
224
  msgstr ""
225
 
226
+ #: includes/functions.php:47
227
  msgid "Read More &raquo;"
228
  msgstr ""
229
 
230
+ #: includes/functions.php:169
231
  msgid "Permalink to %s"
232
  msgstr ""
233
 
234
+ #: includes/functions.php:174 includes/functions.php:180
235
  msgid "%s ago"
236
  msgstr ""
237
 
238
+ #: includes/functions.php:187
239
+ msgid "No Comments"
240
+ msgstr ""
241
+
242
+ #: includes/functions.php:189
243
+ msgid "%s Comments"
244
+ msgstr ""
245
+
246
+ #: includes/functions.php:191
247
+ msgid "1 Comment"
248
+ msgstr ""
249
+
250
  #. Plugin Name of the plugin/theme
251
  msgid "Recent Posts Widget Extended"
252
  msgstr ""
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: satrya, themejunkie
3
  Tags: recent posts, random posts, popular posts, thumbnails, widget, widgets, sidebar, excerpt, category, post tag, taxonomy, post type, post status, shortcode, multiple widgets
4
  Requires at least: 3.7
5
  Tested up to: 4.3
6
- Stable tag: 0.9.9.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -11,8 +11,15 @@ Provides flexible and advanced recent posts. Display it via shortcode or widget
11
 
12
  == Description ==
13
 
 
 
14
  This plugin will enable a custom, flexible and super advanced recent posts, you can display it via shortcode or widget. Allows you to display a list of the most recent posts with thumbnail, excerpt and post date, also you can display it from all or specific or multiple taxonomy, post type and much more!
15
 
 
 
 
 
 
16
  = Features Include =
17
 
18
  * WordPress 4.3 Support.
@@ -38,28 +45,28 @@ This plugin will enable a custom, flexible and super advanced recent posts, you
38
 
39
  * English
40
  * France
41
- * [Contribute to your language](http://satrya.me/projects/recent-posts-widget-extended/)
 
42
 
43
  = Support =
44
 
45
- * Go to [forum support](http://wordpress.org/support/plugin/recent-posts-widget-extended).
46
  * [Rate/Review the plugin](http://wordpress.org/support/view/plugin-reviews/recent-posts-widget-extended).
47
- * Submit translation.
48
 
49
  = Plugin Info =
50
  * Developed by [Satrya](http://satrya.me/) & [Theme Junkie](http://www.theme-junkie.com/)
51
  * Check out the [Github](https://github.com/satrya/recent-posts-widget-extended) repo to contribute.
52
 
53
- = Posts Plugin Series =
54
- * [Recent Posts Widget Extended](http://wordpress.org/plugins/recent-posts-widget-extended/)
55
- * [Advanced Random Posts Widget](http://wordpress.org/plugins/advanced-random-posts-widget/)
56
-
57
  = Contributors =
58
  * [David Kryzaniak](http://profiles.wordpress.org/davidkryzaniak/)
59
  * [AKbyte](http://profiles.wordpress.org/akbyte/)
60
  * [Alexander Sidorov](https://github.com/lkart)
61
  * [Rubens Mariuzzo](https://github.com/rmariuzzo)
62
  * [Ikart](https://github.com/lkart)
 
 
 
63
 
64
  == Installation ==
65
 
@@ -247,6 +254,14 @@ after=""
247
 
248
  == Changelog ==
249
 
 
 
 
 
 
 
 
 
250
  = 0.9.9.1 - 12/07/2015 =
251
  - Prepare to support WordPress 4.3
252
  - **Update:** Limit the number of `tags` and `categories` displayed in the widget
@@ -268,4 +283,4 @@ after=""
268
  * **Add:** [Featured Video Plus](http://wordpress.org/plugins/featured-video-plus/) plugin support.
269
  * **Add:** Hide widget if no posts exist.
270
  * **Add:** Fallback to the image attachment if no image url exist in the resizer script.
271
- * **Fix:** Compatibility issue if the user theme use the same code library(Aqua Resizer) and causing blank screen.
3
  Tags: recent posts, random posts, popular posts, thumbnails, widget, widgets, sidebar, excerpt, category, post tag, taxonomy, post type, post status, shortcode, multiple widgets
4
  Requires at least: 3.7
5
  Tested up to: 4.3
6
+ Stable tag: 0.9.9.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
11
 
12
  == Description ==
13
 
14
+ > Recent Posts Widget Extended version 1.0.0 will have some major updates like moving custom css to a file, rework the shortcode function, add exclude post option, etc. I hope the updates will be ready before September 1, please note, if you see an update from this plugin to **version 1.0.0** please backup your website before updating. Thank you for using my plugin. Have a nice day 😀
15
+
16
  This plugin will enable a custom, flexible and super advanced recent posts, you can display it via shortcode or widget. Allows you to display a list of the most recent posts with thumbnail, excerpt and post date, also you can display it from all or specific or multiple taxonomy, post type and much more!
17
 
18
+ = New Features =
19
+
20
+ * Display modification date
21
+ * Display comment count
22
+
23
  = Features Include =
24
 
25
  * WordPress 4.3 Support.
45
 
46
  * English
47
  * France
48
+ * Brazilian Portuguese
49
+ * [Contribute to your language](https://github.com/satrya/recent-posts-widget-extended/issues)
50
 
51
  = Support =
52
 
53
+ * [Forum support](http://wordpress.org/support/plugin/recent-posts-widget-extended).
54
  * [Rate/Review the plugin](http://wordpress.org/support/view/plugin-reviews/recent-posts-widget-extended).
55
+ * [Submit translation](https://github.com/satrya/recent-posts-widget-extended/issues).
56
 
57
  = Plugin Info =
58
  * Developed by [Satrya](http://satrya.me/) & [Theme Junkie](http://www.theme-junkie.com/)
59
  * Check out the [Github](https://github.com/satrya/recent-posts-widget-extended) repo to contribute.
60
 
 
 
 
 
61
  = Contributors =
62
  * [David Kryzaniak](http://profiles.wordpress.org/davidkryzaniak/)
63
  * [AKbyte](http://profiles.wordpress.org/akbyte/)
64
  * [Alexander Sidorov](https://github.com/lkart)
65
  * [Rubens Mariuzzo](https://github.com/rmariuzzo)
66
  * [Ikart](https://github.com/lkart)
67
+ * [Gil Barbara](https://github.com/gilbarbara)
68
+ * [kurt-hectic](https://github.com/kurt-hectic)
69
+ * [Oliver Larsen](https://github.com/CandyFace)
70
 
71
  == Installation ==
72
 
254
 
255
  == Changelog ==
256
 
257
+ > Recent Posts Widget Extended version 1.0.0 will have some major updates like moving custom css to a file, rework the shortcode function, add exclude post option, etc. I hope the updates will be ready before September 1, please note, if you see an update from this plugin to **version 1.0.0** please backup your website before updating. Thank you for using my plugin. Have a nice day 😀
258
+
259
+ = 0.9.9.2 - 13/08/2015 =
260
+ - **Add:** Brazilian portuguese translation. Props [Gil Barbara](https://github.com/gilbarbara)
261
+ - **Add:** Option to show modification date. Props [kurt-hectic](https://github.com/kurt-hectic)
262
+ - **Add:** Option to show comment count. Props [Oliver Larsen](https://github.com/CandyFace)
263
+ - **Improve:** Add validation to the `Order` and `Orderby` option before saving the widget.
264
+
265
  = 0.9.9.1 - 12/07/2015 =
266
  - Prepare to support WordPress 4.3
267
  - **Update:** Limit the number of `tags` and `categories` displayed in the widget
283
  * **Add:** [Featured Video Plus](http://wordpress.org/plugins/featured-video-plus/) plugin support.
284
  * **Add:** Hide widget if no posts exist.
285
  * **Add:** Fallback to the image attachment if no image url exist in the resizer script.
286
+ * **Fix:** Compatibility issue if the user theme use the same code library(Aqua Resizer) and causing blank screen.
rpwe.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Recent Posts Widget Extended
4
  * Plugin URI: http://satrya.me/projects/recent-posts-widget-extended/
5
  * Description: Enables advanced widget that gives you total control over the output of your site’s most recent Posts.
6
- * Version: 0.9.9.1
7
  * Author: Satrya
8
  * Author URI: http://satrya.me/
9
  * Author Email: satrya@satrya.me
3
  * Plugin Name: Recent Posts Widget Extended
4
  * Plugin URI: http://satrya.me/projects/recent-posts-widget-extended/
5
  * Description: Enables advanced widget that gives you total control over the output of your site’s most recent Posts.
6
+ * Version: 0.9.9.2
7
  * Author: Satrya
8
  * Author URI: http://satrya.me/
9
  * Author Email: satrya@satrya.me