Recent Posts Widget Extended - Version 0.9.9

Version Description

  • 11/29/2014
Download this release

Release Info

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

Code changes from version 0.9.8 to 0.9.9

classes/widget.php CHANGED
@@ -122,6 +122,7 @@ class Recent_Posts_Widget_Extended extends WP_Widget {
122
 
123
  $instance['styles_default'] = isset( $new_instance['styles_default'] ) ? (bool) $new_instance['styles_default'] : false;
124
  $instance['cssID'] = sanitize_html_class( $new_instance['cssID'] );
 
125
  $instance['css'] = $new_instance['css'];
126
  $instance['before'] = stripslashes( $new_instance['before'] );
127
  $instance['after'] = stripslashes( $new_instance['after'] );
122
 
123
  $instance['styles_default'] = isset( $new_instance['styles_default'] ) ? (bool) $new_instance['styles_default'] : false;
124
  $instance['cssID'] = sanitize_html_class( $new_instance['cssID'] );
125
+ $instance['css_class'] = sanitize_html_class( $new_instance['css_class'] );
126
  $instance['css'] = $new_instance['css'];
127
  $instance['before'] = stripslashes( $new_instance['before'] );
128
  $instance['after'] = stripslashes( $new_instance['after'] );
includes/form.php CHANGED
@@ -34,10 +34,10 @@
34
  </p>
35
 
36
  <p>
37
- <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'] ); ?> />
38
- <label class="input-checkbox" for="<?php echo $this->get_field_id( 'styles_default' ); ?>">
39
- <?php _e( 'Use Default Styles', 'rpwe' ); ?>
40
  </label>
 
41
  </p>
42
 
43
  <p>
@@ -255,6 +255,13 @@
255
 
256
  <div class="clear"></div>
257
 
 
 
 
 
 
 
 
258
  <p>
259
  <label for="<?php echo $this->get_field_id( 'css' ); ?>">
260
  <?php _e( 'Custom CSS', 'rpwe' ); ?>
34
  </p>
35
 
36
  <p>
37
+ <label for="<?php echo $this->get_field_id( 'css_class' ); ?>">
38
+ <?php _e( 'CSS Class', 'rpwe' ); ?>
 
39
  </label>
40
+ <input class="widefat" id="<?php echo $this->get_field_id( 'css_class' ); ?>" name="<?php echo $this->get_field_name( 'css_class' ); ?>" type="text" value="<?php echo sanitize_html_class( $instance['css_class'] ); ?>"/>
41
  </p>
42
 
43
  <p>
255
 
256
  <div class="clear"></div>
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>
264
+
265
  <p>
266
  <label for="<?php echo $this->get_field_id( 'css' ); ?>">
267
  <?php _e( 'Custom CSS', 'rpwe' ); ?>
includes/functions.php CHANGED
@@ -48,6 +48,7 @@ function rpwe_get_default_args() {
48
  'styles_default' => true,
49
  'css' => $css_defaults,
50
  'cssID' => '',
 
51
  'before' => '',
52
  'after' => ''
53
  );
@@ -88,12 +89,12 @@ function rpwe_get_recent_posts( $args = array() ) {
88
  do_action( 'rpwe_before_loop' );
89
 
90
  // Display the default style of the plugin.
91
- if ( $args['styles_default'] == true ) {
92
  rpwe_custom_styles();
93
  }
94
 
95
- // If the default style is disbale then use the custom css if it not empty.
96
- if ( $args['styles_default'] == false && ! empty( $args['css'] ) ) {
97
  echo '<style>' . $args['css'] . '</style>';
98
  }
99
 
@@ -102,7 +103,7 @@ function rpwe_get_recent_posts( $args = array() ) {
102
 
103
  if ( $posts->have_posts() ) :
104
 
105
- $html = '<div ' . ( ! empty( $args['cssID'] ) ? 'id="' . sanitize_html_class( $args['cssID'] ) . '"' : '' ) . ' class="rpwe-block">';
106
 
107
  $html .= '<ul class="rpwe-ul">';
108
 
@@ -122,11 +123,17 @@ function rpwe_get_recent_posts( $args = array() ) {
122
 
123
  // Check if post has post thumbnail.
124
  if ( has_post_thumbnail() ) :
125
- $html .= '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">';
126
  if ( $image ) :
127
  $html .= '<img class="' . esc_attr( $args['thumb_align'] ) . ' rpwe-thumb" src="' . esc_url( $image ) . '" alt="' . esc_attr( get_the_title() ) . '">';
128
  else :
129
- $html .= '<img class="' . esc_attr( $args['thumb_align'] ) . ' rpwe-thumb" src="' . esc_url( $img_url ) . '" alt="' . esc_attr( get_the_title() ) . '" height="' . $args['thumb_height'] . '" width="' . $args['thumb_width'] . '">';
 
 
 
 
 
 
130
  endif;
131
  $html .= '</a>';
132
 
@@ -143,7 +150,7 @@ function rpwe_get_recent_posts( $args = array() ) {
143
 
144
  // Display default image.
145
  elseif ( ! empty( $args['thumb_default'] ) ) :
146
- $html .= sprintf( '<a href="%1$s" rel="bookmark"><img class="%2$s rpwe-thumb rpwe-default-thumb" src="%3$s" alt="%4$s" width="%5$s" height="%6$s"></a>',
147
  esc_url( get_permalink() ),
148
  esc_attr( $args['thumb_align'] ),
149
  esc_url( $args['thumb_default'] ),
48
  'styles_default' => true,
49
  'css' => $css_defaults,
50
  'cssID' => '',
51
+ 'css_class' => '',
52
  'before' => '',
53
  'after' => ''
54
  );
89
  do_action( 'rpwe_before_loop' );
90
 
91
  // Display the default style of the plugin.
92
+ if ( $args['styles_default'] === true ) {
93
  rpwe_custom_styles();
94
  }
95
 
96
+ // If the default style is disabled then use the custom css if it's not empty.
97
+ if ( $args['styles_default'] === false && ! empty( $args['css'] ) ) {
98
  echo '<style>' . $args['css'] . '</style>';
99
  }
100
 
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">';
109
 
123
 
124
  // Check if post has post thumbnail.
125
  if ( has_post_thumbnail() ) :
126
+ $html .= '<a class="rpwe-img" href="' . esc_url( get_permalink() ) . '" rel="bookmark">';
127
  if ( $image ) :
128
  $html .= '<img class="' . esc_attr( $args['thumb_align'] ) . ' rpwe-thumb" src="' . esc_url( $image ) . '" alt="' . esc_attr( get_the_title() ) . '">';
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
+ )
136
+ );
137
  endif;
138
  $html .= '</a>';
139
 
150
 
151
  // Display default image.
152
  elseif ( ! empty( $args['thumb_default'] ) ) :
153
+ $html .= sprintf( '<a class="rpwe-img" href="%1$s" rel="bookmark"><img class="%2$s rpwe-thumb rpwe-default-thumb" src="%3$s" alt="%4$s" width="%5$s" height="%6$s"></a>',
154
  esc_url( get_permalink() ),
155
  esc_attr( $args['thumb_align'] ),
156
  esc_url( $args['thumb_default'] ),
includes/shortcode.php CHANGED
@@ -15,7 +15,11 @@
15
  * @since 0.9.4
16
  */
17
  function rpwe_shortcode( $atts, $content ) {
 
 
 
 
18
  $args = shortcode_atts( rpwe_get_default_args(), $atts );
19
  return rpwe_get_recent_posts( $args );
20
  }
21
- add_shortcode( 'rpwe', 'rpwe_shortcode' );
15
  * @since 0.9.4
16
  */
17
  function rpwe_shortcode( $atts, $content ) {
18
+ if ( isset( $atts['cssid'] ) ) {
19
+ $atts['cssID'] = $atts['cssid'];
20
+ unset( $atts['cssid'] );
21
+ }
22
  $args = shortcode_atts( rpwe_get_default_args(), $atts );
23
  return rpwe_get_recent_posts( $args );
24
  }
25
+ add_shortcode( 'rpwe', 'rpwe_shortcode' );
languages/rpwe.mo DELETED
Binary file
languages/rpwe.po DELETED
@@ -1,210 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Recent Posts Widget Extended 0.6\n"
4
- "POT-Creation-Date: 2014-09-09 14:08+0700\n"
5
- "PO-Revision-Date: 2014-09-09 14:08+0700\n"
6
- "Last-Translator: Satrya <satrya@satrya.me>\n"
7
- "Language-Team: Satrya <satrya@satrya.me>\n"
8
- "Language: en\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.9\n"
13
- "X-Poedit-KeywordsList: __;_e;esc_attr__;esc_html__\n"
14
- "X-Poedit-Basepath: .\n"
15
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
-
19
- #: ../classes/widget.php:24
20
- msgid ""
21
- "An advanced widget that gives you total control over the output of your "
22
- "site’s most recent Posts."
23
- msgstr ""
24
-
25
- #: ../classes/widget.php:35
26
- msgid "Recent Posts Extended"
27
- msgstr ""
28
-
29
- #: ../includes/form.php:17 ../includes/form.php:112
30
- msgid "Title"
31
- msgstr ""
32
-
33
- #: ../includes/form.php:24
34
- msgid "Title URL"
35
- msgstr ""
36
-
37
- #: ../includes/form.php:31
38
- msgid "CSS ID"
39
- msgstr ""
40
-
41
- #: ../includes/form.php:39
42
- msgid "Use Default Styles"
43
- msgstr ""
44
-
45
- #: ../includes/form.php:45
46
- msgid "HTML or text before the recent posts"
47
- msgstr ""
48
-
49
- #: ../includes/form.php:52
50
- msgid "HTML or text after the recent posts"
51
- msgstr ""
52
-
53
- #: ../includes/form.php:64
54
- msgid "Ignore sticky posts"
55
- msgstr ""
56
-
57
- #: ../includes/form.php:70
58
- msgid "Post Types"
59
- msgstr ""
60
-
61
- #: ../includes/form.php:86
62
- msgid "Post Status"
63
- msgstr ""
64
-
65
- #: ../includes/form.php:97
66
- msgid "Order"
67
- msgstr ""
68
-
69
- #: ../includes/form.php:100
70
- msgid "Descending"
71
- msgstr ""
72
-
73
- #: ../includes/form.php:101
74
- msgid "Ascending"
75
- msgstr ""
76
-
77
- #: ../includes/form.php:107
78
- msgid "Orderby"
79
- msgstr ""
80
-
81
- #: ../includes/form.php:110
82
- msgid "ID"
83
- msgstr ""
84
-
85
- #: ../includes/form.php:111
86
- msgid "Author"
87
- msgstr ""
88
-
89
- #: ../includes/form.php:113
90
- msgid "Date"
91
- msgstr ""
92
-
93
- #: ../includes/form.php:114
94
- msgid "Modified"
95
- msgstr ""
96
-
97
- #: ../includes/form.php:115
98
- msgid "Random"
99
- msgstr ""
100
-
101
- #: ../includes/form.php:116
102
- msgid "Comment Count"
103
- msgstr ""
104
-
105
- #: ../includes/form.php:117
106
- msgid "Menu Order"
107
- msgstr ""
108
-
109
- #: ../includes/form.php:123
110
- msgid "Limit to Category"
111
- msgstr ""
112
-
113
- #: ../includes/form.php:139
114
- msgid "Limit to Tag"
115
- msgstr ""
116
-
117
- #: ../includes/form.php:155
118
- msgid "Limit to Taxonomy"
119
- msgstr ""
120
-
121
- #: ../includes/form.php:158
122
- msgid "Ex: category=1,2,4&amp;post_tag=6,12"
123
- msgstr ""
124
-
125
- #: ../includes/form.php:159
126
- msgid "Available: "
127
- msgstr ""
128
-
129
- #: ../includes/form.php:168
130
- msgid "Number of posts to show"
131
- msgstr ""
132
-
133
- #: ../includes/form.php:175
134
- msgid "Offset"
135
- msgstr ""
136
-
137
- #: ../includes/form.php:178
138
- msgid "The number of posts to skip"
139
- msgstr ""
140
-
141
- #: ../includes/form.php:186
142
- msgid "Display Thumbnail"
143
- msgstr ""
144
-
145
- #: ../includes/form.php:192
146
- msgid "Thumbnail (width,height,align)"
147
- msgstr ""
148
-
149
- #: ../includes/form.php:197
150
- msgid "Left"
151
- msgstr ""
152
-
153
- #: ../includes/form.php:198
154
- msgid "Right"
155
- msgstr ""
156
-
157
- #: ../includes/form.php:199
158
- msgid "Center"
159
- msgstr ""
160
-
161
- #: ../includes/form.php:205
162
- msgid "Default Thumbnail"
163
- msgstr ""
164
-
165
- #: ../includes/form.php:208
166
- msgid "Leave it blank to disable."
167
- msgstr ""
168
-
169
- #: ../includes/form.php:216
170
- msgid "Display Excerpt"
171
- msgstr ""
172
-
173
- #: ../includes/form.php:222
174
- msgid "Excerpt Length"
175
- msgstr ""
176
-
177
- #: ../includes/form.php:230
178
- msgid "Display Readmore"
179
- msgstr ""
180
-
181
- #: ../includes/form.php:236
182
- msgid "Readmore Text"
183
- msgstr ""
184
-
185
- #: ../includes/form.php:244
186
- msgid "Display Date"
187
- msgstr ""
188
-
189
- #: ../includes/form.php:254
190
- msgid "Custom CSS"
191
- msgstr ""
192
-
193
- #: ../includes/form.php:257
194
- msgid ""
195
- "If you turn off the default styles, you can use these css code to customize "
196
- "the recent posts style."
197
- msgstr ""
198
-
199
- #: ../includes/functions.php:22
200
- msgid "Recent Posts"
201
- msgstr ""
202
-
203
- #: ../includes/functions.php:45
204
- msgid "Read More &raquo;"
205
- msgstr ""
206
-
207
- #: ../includes/functions.php:151
208
- #, php-format
209
- msgid "Permalink to %s"
210
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/rpwe.pot ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 2014-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.4.9\n"
15
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
+ "X-Poedit-Basepath: ..\n"
17
+ "X-Poedit-Language: English\n"
18
+ "X-Poedit-Country: UNITED STATES\n"
19
+ "X-Poedit-SourceCharset: utf-8\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-KeywordsList: "
22
+ "__;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c;_nc:4c,1,2;_"
23
+ "x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
24
+ "X-Textdomain-Support: yes\n"
25
+
26
+ #: classes/widget.php:24
27
+ msgid ""
28
+ "An advanced widget that gives you total control over the output of your "
29
+ "site’s most recent Posts."
30
+ msgstr ""
31
+
32
+ #: classes/widget.php:35
33
+ msgid "Recent Posts Extended"
34
+ msgstr ""
35
+
36
+ #: includes/form.php:17 includes/form.php:112
37
+ msgid "Title"
38
+ msgstr ""
39
+
40
+ #: includes/form.php:24
41
+ msgid "Title URL"
42
+ msgstr ""
43
+
44
+ #: includes/form.php:31
45
+ msgid "CSS ID"
46
+ msgstr ""
47
+
48
+ #: includes/form.php:38
49
+ msgid "CSS Class"
50
+ msgstr ""
51
+
52
+ #: includes/form.php:45
53
+ msgid "HTML or text before the recent posts"
54
+ msgstr ""
55
+
56
+ #: includes/form.php:52
57
+ msgid "HTML or text after the recent posts"
58
+ msgstr ""
59
+
60
+ #: includes/form.php:64
61
+ msgid "Ignore sticky posts"
62
+ msgstr ""
63
+
64
+ #: includes/form.php:70
65
+ msgid "Post Types"
66
+ msgstr ""
67
+
68
+ #: includes/form.php:86
69
+ msgid "Post Status"
70
+ msgstr ""
71
+
72
+ #: includes/form.php:97
73
+ msgid "Order"
74
+ msgstr ""
75
+
76
+ #: includes/form.php:100
77
+ msgid "Descending"
78
+ msgstr ""
79
+
80
+ #: includes/form.php:101
81
+ msgid "Ascending"
82
+ msgstr ""
83
+
84
+ #: includes/form.php:107
85
+ msgid "Orderby"
86
+ msgstr ""
87
+
88
+ #: includes/form.php:110
89
+ msgid "ID"
90
+ msgstr ""
91
+
92
+ #: includes/form.php:111
93
+ msgid "Author"
94
+ msgstr ""
95
+
96
+ #: includes/form.php:113
97
+ msgid "Date"
98
+ msgstr ""
99
+
100
+ #: includes/form.php:114
101
+ msgid "Modified"
102
+ msgstr ""
103
+
104
+ #: includes/form.php:115
105
+ msgid "Random"
106
+ msgstr ""
107
+
108
+ #: includes/form.php:116
109
+ msgid "Comment Count"
110
+ msgstr ""
111
+
112
+ #: includes/form.php:117
113
+ msgid "Menu Order"
114
+ msgstr ""
115
+
116
+ #: includes/form.php:123
117
+ msgid "Limit to Category"
118
+ msgstr ""
119
+
120
+ #: includes/form.php:139
121
+ msgid "Limit to Tag"
122
+ msgstr ""
123
+
124
+ #: includes/form.php:155
125
+ msgid "Limit to Taxonomy"
126
+ msgstr ""
127
+
128
+ #: includes/form.php:158
129
+ msgid "Ex: category=1,2,4&amp;post_tag=6,12"
130
+ msgstr ""
131
+
132
+ #: includes/form.php:159
133
+ msgid "Available: "
134
+ msgstr ""
135
+
136
+ #: includes/form.php:168
137
+ msgid "Number of posts to show"
138
+ msgstr ""
139
+
140
+ #: includes/form.php:175
141
+ msgid "Offset"
142
+ msgstr ""
143
+
144
+ #: includes/form.php:178
145
+ msgid "The number of posts to skip"
146
+ msgstr ""
147
+
148
+ #: includes/form.php:186
149
+ msgid "Display Thumbnail"
150
+ msgstr ""
151
+
152
+ #: includes/form.php:192
153
+ msgid "Thumbnail (height,width,align)"
154
+ msgstr ""
155
+
156
+ #: includes/form.php:197
157
+ msgid "Left"
158
+ msgstr ""
159
+
160
+ #: includes/form.php:198
161
+ msgid "Right"
162
+ msgstr ""
163
+
164
+ #: includes/form.php:199
165
+ msgid "Center"
166
+ msgstr ""
167
+
168
+ #: includes/form.php:205
169
+ msgid "Default Thumbnail"
170
+ msgstr ""
171
+
172
+ #: includes/form.php:208
173
+ msgid "Leave it blank to disable."
174
+ msgstr ""
175
+
176
+ #: includes/form.php:216
177
+ msgid "Display Excerpt"
178
+ msgstr ""
179
+
180
+ #: includes/form.php:222
181
+ msgid "Excerpt Length"
182
+ msgstr ""
183
+
184
+ #: includes/form.php:230
185
+ msgid "Display Readmore"
186
+ msgstr ""
187
+
188
+ #: includes/form.php:236
189
+ 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."
212
+ msgstr ""
213
+
214
+ #: includes/functions.php:22
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 ""
233
+
234
+ #. Plugin URI of the plugin/theme
235
+ msgid "http://satrya.me/wordpress-plugins/recent-posts-widget-extended/"
236
+ msgstr ""
237
+
238
+ #. Description of the plugin/theme
239
+ msgid ""
240
+ "Enables advanced widget that gives you total control over the output of "
241
+ "your site’s most recent Posts."
242
+ msgstr ""
243
+
244
+ #. Author of the plugin/theme
245
+ msgid "Satrya"
246
+ msgstr ""
247
+
248
+ #. Author URI of the plugin/theme
249
+ msgid "http://satrya.me/"
250
+ msgstr ""
readme.txt CHANGED
@@ -3,11 +3,11 @@ 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.0.1
6
- Stable tag: 0.9.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
- Provides flexible and advanced recent posts. Display it via shortcode or widget with with thumbnails, post excerpt, taxonomy and more.
11
 
12
  == Description ==
13
 
@@ -37,6 +37,11 @@ This plugin will enable a custom, flexible and super advanced recent posts, you
37
  * Custom CSS.
38
  * Multiple widgets.
39
 
 
 
 
 
 
40
  = Plugin Support =
41
 
42
  * [Get the Image](http://wordpress.org/plugins/get-the-image/).
@@ -62,6 +67,7 @@ This plugin will enable a custom, flexible and super advanced recent posts, you
62
  * [AKbyte](http://profiles.wordpress.org/akbyte/)
63
  * [Alexander Sidorov](https://github.com/lkart)
64
  * [Rubens Mariuzzo](https://github.com/rmariuzzo)
 
65
 
66
  == Installation ==
67
 
@@ -249,7 +255,15 @@ after=""
249
 
250
  == Changelog ==
251
 
252
- = 0.9.8 - 26/11/2014 =
 
 
 
 
 
 
 
 
253
  * **Fix:** Compatibility issue with `Get The Image` plugin/extension.
254
  * **Fix:** Issue with `html or text before and after recent posts`, now it allow all HTML tags.
255
 
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.0.1
6
+ Stable tag: 0.9.9
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
+ Provides flexible and advanced recent posts. Display it via shortcode or widget with thumbnails, post excerpt, taxonomy and more.
11
 
12
  == Description ==
13
 
37
  * Custom CSS.
38
  * Multiple widgets.
39
 
40
+ = Language =
41
+ * English
42
+ * France
43
+ * [Contribute to your language](https://github.com/satrya/recent-posts-widget-extended/issues)
44
+
45
  = Plugin Support =
46
 
47
  * [Get the Image](http://wordpress.org/plugins/get-the-image/).
67
  * [AKbyte](http://profiles.wordpress.org/akbyte/)
68
  * [Alexander Sidorov](https://github.com/lkart)
69
  * [Rubens Mariuzzo](https://github.com/rmariuzzo)
70
+ * [Ikart](https://github.com/lkart)
71
 
72
  == Installation ==
73
 
255
 
256
  == Changelog ==
257
 
258
+ = 0.9.9 - 11/29/2014 =
259
+ - **Fix:** for "cssID" attribute in shortcodes. Props [Ikart](https://github.com/lkart)
260
+ - **Fix:** Thumbnail fallback uses `get_the_post_thumbnail`
261
+ - **Add:** `rpwe-img` to the thumbnail.
262
+ - **Add:** `css class` option.
263
+ - **Improve:** Move `use styles default` option to above the custom css. I'm sorry for the incosistency.
264
+ - **Update:** Language
265
+
266
+ = 0.9.8 - 11/26/2014 =
267
  * **Fix:** Compatibility issue with `Get The Image` plugin/extension.
268
  * **Fix:** Issue with `html or text before and after recent posts`, now it allow all HTML tags.
269
 
rpwe.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Recent Posts Widget Extended
4
  * Plugin URI: http://satrya.me/wordpress-plugins/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.8
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/wordpress-plugins/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
7
  * Author: Satrya
8
  * Author URI: http://satrya.me/
9
  * Author Email: satrya@satrya.me