Version Description
- Nov 09, 2015 =
- Sanitize
before
andafter
element for better security
Download this release
Release Info
Developer | satrya |
Plugin | Recent Posts Widget Extended |
Version | 0.9.9.4 |
Comparing to | |
See all releases |
Code changes from version 0.9.9.3 to 0.9.9.4
- classes/widget.php +2 -2
- includes/form.php +16 -14
- includes/functions.php +4 -4
- includes/helpers.php +21 -0
- languages/{rpwe.pot → recent-posts-widget-extended.pot} +4 -4
- languages/rpwe-de_DE.mo +0 -0
- languages/rpwe-de_DE.po +266 -0
- readme.txt +16 -30
- rpwe.php +8 -8
classes/widget.php
CHANGED
@@ -127,8 +127,8 @@ class Recent_Posts_Widget_Extended extends WP_Widget {
|
|
127 |
$instance['cssID'] = sanitize_html_class( $new_instance['cssID'] );
|
128 |
$instance['css_class'] = sanitize_html_class( $new_instance['css_class'] );
|
129 |
$instance['css'] = $new_instance['css'];
|
130 |
-
$instance['before'] =
|
131 |
-
$instance['after'] =
|
132 |
|
133 |
return $instance;
|
134 |
|
127 |
$instance['cssID'] = sanitize_html_class( $new_instance['cssID'] );
|
128 |
$instance['css_class'] = sanitize_html_class( $new_instance['css_class'] );
|
129 |
$instance['css'] = $new_instance['css'];
|
130 |
+
$instance['before'] = wp_kses_post( $new_instance['before'] );
|
131 |
+
$instance['after'] = wp_kses_post( $new_instance['after'] );
|
132 |
|
133 |
return $instance;
|
134 |
|
includes/form.php
CHANGED
@@ -104,8 +104,8 @@
|
|
104 |
<?php _e( 'Order', 'recent-posts-widget-extended' ); ?>
|
105 |
</label>
|
106 |
<select class="widefat" id="<?php echo $this->get_field_id( 'order' ); ?>" name="<?php echo $this->get_field_name( 'order' ); ?>" style="width:100%;">
|
107 |
-
<option value="DESC" <?php selected( $instance['order'], 'DESC' ); ?>><?php _e( 'Descending', '
|
108 |
-
<option value="ASC" <?php selected( $instance['order'], 'ASC' ); ?>><?php _e( 'Ascending', '
|
109 |
</select>
|
110 |
</p>
|
111 |
|
@@ -114,14 +114,14 @@
|
|
114 |
<?php _e( 'Orderby', 'recent-posts-widget-extended' ); ?>
|
115 |
</label>
|
116 |
<select class="widefat" id="<?php echo $this->get_field_id( 'orderby' ); ?>" name="<?php echo $this->get_field_name( 'orderby' ); ?>" style="width:100%;">
|
117 |
-
<option value="ID" <?php selected( $instance['orderby'], 'ID' ); ?>><?php _e( 'ID', '
|
118 |
-
<option value="author" <?php selected( $instance['orderby'], 'author' ); ?>><?php _e( 'Author', '
|
119 |
-
<option value="title" <?php selected( $instance['orderby'], 'title' ); ?>><?php _e( 'Title', '
|
120 |
-
<option value="date" <?php selected( $instance['orderby'], 'date' ); ?>><?php _e( 'Date', '
|
121 |
-
<option value="modified" <?php selected( $instance['orderby'], 'modified' ); ?>><?php _e( 'Modified', '
|
122 |
-
<option value="rand" <?php selected( $instance['orderby'], 'rand' ); ?>><?php _e( 'Random', '
|
123 |
-
<option value="comment_count" <?php selected( $instance['orderby'], 'comment_count' ); ?>><?php _e( 'Comment Count', '
|
124 |
-
<option value="menu_order" <?php selected( $instance['orderby'], 'menu_order' ); ?>><?php _e( 'Menu Order', '
|
125 |
</select>
|
126 |
</p>
|
127 |
|
@@ -162,8 +162,8 @@
|
|
162 |
<?php _e( 'Limit to Taxonomy', 'recent-posts-widget-extended' ); ?>
|
163 |
</label>
|
164 |
<input type="text" class="widefat" id="<?php echo $this->get_field_id( 'taxonomy' ); ?>" name="<?php echo $this->get_field_name( 'taxonomy' ); ?>" value="<?php echo esc_attr( $instance['taxonomy'] ); ?>" />
|
165 |
-
<small><?php _e( 'Ex: category=1,2,4&post_tag=6,12', '
|
166 |
-
<?php _e( 'Available: ', '
|
167 |
</p>
|
168 |
|
169 |
</div>
|
@@ -185,7 +185,7 @@
|
|
185 |
<small><?php _e( 'The number of posts to skip', 'recent-posts-widget-extended' ); ?></small>
|
186 |
</p>
|
187 |
|
188 |
-
<?php if ( current_theme_supports( 'post-thumbnails' ) )
|
189 |
|
190 |
<p>
|
191 |
<input id="<?php echo $this->get_field_id( 'thumb' ); ?>" name="<?php echo $this->get_field_name( 'thumb' ); ?>" type="checkbox" <?php checked( $instance['thumb'] ); ?> />
|
@@ -215,7 +215,9 @@
|
|
215 |
<small><?php _e( 'Leave it blank to disable.', 'recent-posts-widget-extended' ); ?></small>
|
216 |
</p>
|
217 |
|
218 |
-
<?php
|
|
|
|
|
219 |
|
220 |
<p>
|
221 |
<input id="<?php echo $this->get_field_id( 'excerpt' ); ?>" name="<?php echo $this->get_field_name( 'excerpt' ); ?>" type="checkbox" <?php checked( $instance['excerpt'] ); ?> />
|
104 |
<?php _e( 'Order', 'recent-posts-widget-extended' ); ?>
|
105 |
</label>
|
106 |
<select class="widefat" id="<?php echo $this->get_field_id( 'order' ); ?>" name="<?php echo $this->get_field_name( 'order' ); ?>" style="width:100%;">
|
107 |
+
<option value="DESC" <?php selected( $instance['order'], 'DESC' ); ?>><?php _e( 'Descending', 'recent-posts-widget-extended' ) ?></option>
|
108 |
+
<option value="ASC" <?php selected( $instance['order'], 'ASC' ); ?>><?php _e( 'Ascending', 'recent-posts-widget-extended' ) ?></option>
|
109 |
</select>
|
110 |
</p>
|
111 |
|
114 |
<?php _e( 'Orderby', 'recent-posts-widget-extended' ); ?>
|
115 |
</label>
|
116 |
<select class="widefat" id="<?php echo $this->get_field_id( 'orderby' ); ?>" name="<?php echo $this->get_field_name( 'orderby' ); ?>" style="width:100%;">
|
117 |
+
<option value="ID" <?php selected( $instance['orderby'], 'ID' ); ?>><?php _e( 'ID', 'recent-posts-widget-extended' ) ?></option>
|
118 |
+
<option value="author" <?php selected( $instance['orderby'], 'author' ); ?>><?php _e( 'Author', 'recent-posts-widget-extended' ) ?></option>
|
119 |
+
<option value="title" <?php selected( $instance['orderby'], 'title' ); ?>><?php _e( 'Title', 'recent-posts-widget-extended' ) ?></option>
|
120 |
+
<option value="date" <?php selected( $instance['orderby'], 'date' ); ?>><?php _e( 'Date', 'recent-posts-widget-extended' ) ?></option>
|
121 |
+
<option value="modified" <?php selected( $instance['orderby'], 'modified' ); ?>><?php _e( 'Modified', 'recent-posts-widget-extended' ) ?></option>
|
122 |
+
<option value="rand" <?php selected( $instance['orderby'], 'rand' ); ?>><?php _e( 'Random', 'recent-posts-widget-extended' ) ?></option>
|
123 |
+
<option value="comment_count" <?php selected( $instance['orderby'], 'comment_count' ); ?>><?php _e( 'Comment Count', 'recent-posts-widget-extended' ) ?></option>
|
124 |
+
<option value="menu_order" <?php selected( $instance['orderby'], 'menu_order' ); ?>><?php _e( 'Menu Order', 'recent-posts-widget-extended' ) ?></option>
|
125 |
</select>
|
126 |
</p>
|
127 |
|
162 |
<?php _e( 'Limit to Taxonomy', 'recent-posts-widget-extended' ); ?>
|
163 |
</label>
|
164 |
<input type="text" class="widefat" id="<?php echo $this->get_field_id( 'taxonomy' ); ?>" name="<?php echo $this->get_field_name( 'taxonomy' ); ?>" value="<?php echo esc_attr( $instance['taxonomy'] ); ?>" />
|
165 |
+
<small><?php _e( 'Ex: category=1,2,4&post_tag=6,12', 'recent-posts-widget-extended' );?><br />
|
166 |
+
<?php _e( 'Available: ', 'recent-posts-widget-extended' ); echo implode( ', ', get_taxonomies( array( 'public' => true ) ) ); ?></small>
|
167 |
</p>
|
168 |
|
169 |
</div>
|
185 |
<small><?php _e( 'The number of posts to skip', 'recent-posts-widget-extended' ); ?></small>
|
186 |
</p>
|
187 |
|
188 |
+
<?php if ( current_theme_supports( 'post-thumbnails' ) ) : ?>
|
189 |
|
190 |
<p>
|
191 |
<input id="<?php echo $this->get_field_id( 'thumb' ); ?>" name="<?php echo $this->get_field_name( 'thumb' ); ?>" type="checkbox" <?php checked( $instance['thumb'] ); ?> />
|
215 |
<small><?php _e( 'Leave it blank to disable.', 'recent-posts-widget-extended' ); ?></small>
|
216 |
</p>
|
217 |
|
218 |
+
<?php else : ?>
|
219 |
+
<p><?php printf( __( 'Your theme does not support Post Thumbnail feature, please go to %1$shttp://codex.wordpress.org/Post_Thumbnails%2$s to read more info and how to activate it in your theme.', 'recent-posts-widget-extended' ), '<a href="http://codex.wordpress.org/Post_Thumbnails" target="_blank">', '</a>' ); ?></p>
|
220 |
+
<?php endif; ?>
|
221 |
|
222 |
<p>
|
223 |
<input id="<?php echo $this->get_field_id( 'excerpt' ); ?>" name="<?php echo $this->get_field_name( 'excerpt' ); ?>" type="checkbox" <?php checked( $instance['excerpt'] ); ?> />
|
includes/functions.php
CHANGED
@@ -19,7 +19,7 @@ function rpwe_get_default_args() {
|
|
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', '
|
23 |
'title_url' => '',
|
24 |
|
25 |
'limit' => 5,
|
@@ -121,7 +121,7 @@ function rpwe_get_recent_posts( $args = array() ) {
|
|
121 |
$image = rpwe_resize( $img_url, $args['thumb_width'], $args['thumb_height'], true );
|
122 |
|
123 |
// Start recent posts markup.
|
124 |
-
$html .= '<li class="rpwe-li rpwe-clearfix">';
|
125 |
|
126 |
if ( $args['thumb'] ) :
|
127 |
|
@@ -167,7 +167,7 @@ function rpwe_get_recent_posts( $args = array() ) {
|
|
167 |
|
168 |
endif;
|
169 |
|
170 |
-
$html .= '<h3 class="rpwe-title"><a href="' . esc_url( get_permalink() ) . '"
|
171 |
|
172 |
if ( $args['date'] ) :
|
173 |
$date = get_the_date();
|
@@ -220,7 +220,7 @@ function rpwe_get_recent_posts( $args = array() ) {
|
|
220 |
do_action( 'rpwe_after_loop' );
|
221 |
|
222 |
// Return the posts markup.
|
223 |
-
return $args['before'] . apply_filters( 'rpwe_markup', $html ) . $args['after'];
|
224 |
|
225 |
}
|
226 |
|
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', 'recent-posts-widget-extended' ),
|
23 |
'title_url' => '',
|
24 |
|
25 |
'limit' => 5,
|
121 |
$image = rpwe_resize( $img_url, $args['thumb_width'], $args['thumb_height'], true );
|
122 |
|
123 |
// Start recent posts markup.
|
124 |
+
$html .= '<li class="' . rpwe_get_first_last_class( $posts ) . 'rpwe-li rpwe-clearfix">';
|
125 |
|
126 |
if ( $args['thumb'] ) :
|
127 |
|
167 |
|
168 |
endif;
|
169 |
|
170 |
+
$html .= '<h3 class="rpwe-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . esc_attr( get_the_title() ) . '</a></h3>';
|
171 |
|
172 |
if ( $args['date'] ) :
|
173 |
$date = get_the_date();
|
220 |
do_action( 'rpwe_after_loop' );
|
221 |
|
222 |
// Return the posts markup.
|
223 |
+
return wp_kses_post( $args['before'] ) . apply_filters( 'rpwe_markup', $html ) . wp_kses_post( $args['after'] );
|
224 |
|
225 |
}
|
226 |
|
includes/helpers.php
CHANGED
@@ -49,4 +49,25 @@ function rpwe_cats_list() {
|
|
49 |
$cats = get_terms( 'category', $args );
|
50 |
|
51 |
return $cats;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
}
|
49 |
$cats = get_terms( 'category', $args );
|
50 |
|
51 |
return $cats;
|
52 |
+
}
|
53 |
+
|
54 |
+
/**
|
55 |
+
* Add 'first' and 'last' class
|
56 |
+
*
|
57 |
+
* @since 1.0.0
|
58 |
+
*/
|
59 |
+
function rpwe_get_first_last_class( $query = '' ) {
|
60 |
+
|
61 |
+
// Set up empty variable.
|
62 |
+
$class = '';
|
63 |
+
|
64 |
+
// Get the 'first' and 'last' class.
|
65 |
+
if ( 0 == $query->current_post ) {
|
66 |
+
$class = 'rpwe-first ';
|
67 |
+
} elseif ( ( $query->current_post + 1 ) == $query->post_count ) {
|
68 |
+
$class = 'rpwe-last ';
|
69 |
+
}
|
70 |
+
|
71 |
+
return $class;
|
72 |
+
|
73 |
}
|
languages/{rpwe.pot → recent-posts-widget-extended.pot}
RENAMED
@@ -2,9 +2,9 @@
|
|
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.
|
6 |
"Report-Msgid-Bugs-To: https://themephe.com/\n"
|
7 |
-
"POT-Creation-Date: 2015-09
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -256,7 +256,7 @@ msgid "Recent Posts Widget Extended"
|
|
256 |
msgstr ""
|
257 |
|
258 |
#. Plugin URI of the plugin/theme
|
259 |
-
msgid "
|
260 |
msgstr ""
|
261 |
|
262 |
#. Description of the plugin/theme
|
@@ -270,5 +270,5 @@ msgid "Satrya"
|
|
270 |
msgstr ""
|
271 |
|
272 |
#. Author URI of the plugin/theme
|
273 |
-
msgid "
|
274 |
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.4\n"
|
6 |
"Report-Msgid-Bugs-To: https://themephe.com/\n"
|
7 |
+
"POT-Creation-Date: 2015-11-09 14:25:14+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
256 |
msgstr ""
|
257 |
|
258 |
#. Plugin URI of the plugin/theme
|
259 |
+
msgid "http://www.theme-junkie.com/plugins/recent-posts-widget-extended/"
|
260 |
msgstr ""
|
261 |
|
262 |
#. Description of the plugin/theme
|
270 |
msgstr ""
|
271 |
|
272 |
#. Author URI of the plugin/theme
|
273 |
+
msgid "http://www.theme-junkie.com/"
|
274 |
msgstr ""
|
languages/rpwe-de_DE.mo
ADDED
Binary file
|
languages/rpwe-de_DE.po
ADDED
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2015 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.3\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://themephe.com/\n"
|
7 |
+
"POT-Creation-Date: 2015-09-19 14:47:10+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-09-22 14:41+0200\n"
|
12 |
+
"Last-Translator: ThemePhe (support@themephe.com)\n"
|
13 |
+
"Language-Team: ThemePhe (support@themephe.com)\n"
|
14 |
+
"X-Generator: Poedit 1.8.4\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;_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;"
|
19 |
+
"_nx_noop:4c,1,2\n"
|
20 |
+
"X-Textdomain-Support: yes\n"
|
21 |
+
"Language: de_DE\n"
|
22 |
+
"X-Poedit-SearchPath-0: .\n"
|
23 |
+
|
24 |
+
#: classes/widget.php:24
|
25 |
+
msgid "An advanced widget that gives you total control over the output of your site’s most recent Posts."
|
26 |
+
msgstr "ein widget, dass dir die totale Kontrolle über dieAusgabe der letzten Beiträge ermöglicht."
|
27 |
+
|
28 |
+
#: classes/widget.php:35
|
29 |
+
msgid "Recent Posts Extended"
|
30 |
+
msgstr "Recent Posts Extended"
|
31 |
+
|
32 |
+
#: includes/form.php:17 includes/form.php:119
|
33 |
+
msgid "Title"
|
34 |
+
msgstr "Titel"
|
35 |
+
|
36 |
+
#: includes/form.php:24
|
37 |
+
msgid "Title URL"
|
38 |
+
msgstr "Titel URL"
|
39 |
+
|
40 |
+
#: includes/form.php:31
|
41 |
+
msgid "CSS ID"
|
42 |
+
msgstr "CSS ID"
|
43 |
+
|
44 |
+
#: includes/form.php:38
|
45 |
+
msgid "CSS Class"
|
46 |
+
msgstr "CSS Klasse"
|
47 |
+
|
48 |
+
#: includes/form.php:45
|
49 |
+
msgid "HTML or text before the recent posts"
|
50 |
+
msgstr "HTML oder Text vor dem Modul"
|
51 |
+
|
52 |
+
#: includes/form.php:52
|
53 |
+
msgid "HTML or text after the recent posts"
|
54 |
+
msgstr "HTML oder Text nach dem Modul"
|
55 |
+
|
56 |
+
#: includes/form.php:64
|
57 |
+
msgid "Ignore sticky posts"
|
58 |
+
msgstr "angepinnte(sticky) Beiträge ignorieren"
|
59 |
+
|
60 |
+
#: includes/form.php:71
|
61 |
+
msgid "Exclude current post"
|
62 |
+
msgstr "letzten Beitrag ausschliessen"
|
63 |
+
|
64 |
+
#: includes/form.php:77
|
65 |
+
msgid "Post Types"
|
66 |
+
msgstr "Beitragstypen"
|
67 |
+
|
68 |
+
#: includes/form.php:93
|
69 |
+
msgid "Post Status"
|
70 |
+
msgstr "Beitrags-Status"
|
71 |
+
|
72 |
+
#: includes/form.php:104
|
73 |
+
msgid "Order"
|
74 |
+
msgstr "Reihenfolge"
|
75 |
+
|
76 |
+
#: includes/form.php:107
|
77 |
+
msgid "Descending"
|
78 |
+
msgstr "Absteigend"
|
79 |
+
|
80 |
+
#: includes/form.php:108
|
81 |
+
msgid "Ascending"
|
82 |
+
msgstr "Aufsteigend"
|
83 |
+
|
84 |
+
#: includes/form.php:114
|
85 |
+
msgid "Orderby"
|
86 |
+
msgstr "Sortieren nach"
|
87 |
+
|
88 |
+
#: includes/form.php:117
|
89 |
+
msgid "ID"
|
90 |
+
msgstr "ID"
|
91 |
+
|
92 |
+
#: includes/form.php:118
|
93 |
+
msgid "Author"
|
94 |
+
msgstr "Autor"
|
95 |
+
|
96 |
+
#: includes/form.php:120
|
97 |
+
msgid "Date"
|
98 |
+
msgstr "Datum"
|
99 |
+
|
100 |
+
#: includes/form.php:121
|
101 |
+
msgid "Modified"
|
102 |
+
msgstr "Änderungsdatum"
|
103 |
+
|
104 |
+
#: includes/form.php:122
|
105 |
+
msgid "Random"
|
106 |
+
msgstr "Zufall"
|
107 |
+
|
108 |
+
#: includes/form.php:123
|
109 |
+
msgid "Comment Count"
|
110 |
+
msgstr "Anzahl Kommentare"
|
111 |
+
|
112 |
+
#: includes/form.php:124
|
113 |
+
msgid "Menu Order"
|
114 |
+
msgstr "Menü Reihenfolge"
|
115 |
+
|
116 |
+
#: includes/form.php:130
|
117 |
+
msgid "Limit to Category"
|
118 |
+
msgstr "Begrenzen auf Kategorie(n)"
|
119 |
+
|
120 |
+
#: includes/form.php:146
|
121 |
+
msgid "Limit to Tag"
|
122 |
+
msgstr "Begrenzen auf Schlagwort(e)"
|
123 |
+
|
124 |
+
#: includes/form.php:162
|
125 |
+
msgid "Limit to Taxonomy"
|
126 |
+
msgstr "Begrenzen auf Taxonomie(n)"
|
127 |
+
|
128 |
+
#: includes/form.php:165
|
129 |
+
msgid "Ex: category=1,2,4&post_tag=6,12"
|
130 |
+
msgstr "z.B.: category=1,2,4&post_tag=6,12"
|
131 |
+
|
132 |
+
#: includes/form.php:166
|
133 |
+
msgid "Available: "
|
134 |
+
msgstr "Verfügbar:"
|
135 |
+
|
136 |
+
#: includes/form.php:175
|
137 |
+
msgid "Number of posts to show"
|
138 |
+
msgstr "Anzahl der zu zeigenden Beiträge"
|
139 |
+
|
140 |
+
#: includes/form.php:182
|
141 |
+
msgid "Offset"
|
142 |
+
msgstr "Abweichen / überpringen"
|
143 |
+
|
144 |
+
#: includes/form.php:185
|
145 |
+
msgid "The number of posts to skip"
|
146 |
+
msgstr "Anzahl der Beiträge die übersprungen werden sollen"
|
147 |
+
|
148 |
+
#: includes/form.php:193
|
149 |
+
msgid "Display Thumbnail"
|
150 |
+
msgstr "Thumbnail anzeigen"
|
151 |
+
|
152 |
+
#: includes/form.php:199
|
153 |
+
msgid "Thumbnail (height,width,align)"
|
154 |
+
msgstr "Thumbnail (höhe,breite,ausrichtung)"
|
155 |
+
|
156 |
+
#: includes/form.php:204
|
157 |
+
msgid "Left"
|
158 |
+
msgstr "Links"
|
159 |
+
|
160 |
+
#: includes/form.php:205
|
161 |
+
msgid "Right"
|
162 |
+
msgstr "Rechts"
|
163 |
+
|
164 |
+
#: includes/form.php:206
|
165 |
+
msgid "Center"
|
166 |
+
msgstr "Mitte"
|
167 |
+
|
168 |
+
#: includes/form.php:212
|
169 |
+
msgid "Default Thumbnail"
|
170 |
+
msgstr "Standard Thumbnail"
|
171 |
+
|
172 |
+
#: includes/form.php:215
|
173 |
+
msgid "Leave it blank to disable."
|
174 |
+
msgstr "Feld leer lassen zum deaktivieren."
|
175 |
+
|
176 |
+
#: includes/form.php:223
|
177 |
+
msgid "Display Excerpt"
|
178 |
+
msgstr "Textauszug anzeigen"
|
179 |
+
|
180 |
+
#: includes/form.php:229
|
181 |
+
msgid "Excerpt Length"
|
182 |
+
msgstr "Textauszug Länge"
|
183 |
+
|
184 |
+
#: includes/form.php:237
|
185 |
+
msgid "Display Readmore"
|
186 |
+
msgstr "<weiterlesen> anzeigen"
|
187 |
+
|
188 |
+
#: includes/form.php:243
|
189 |
+
msgid "Readmore Text"
|
190 |
+
msgstr "<weiterlesen> Text"
|
191 |
+
|
192 |
+
#: includes/form.php:251
|
193 |
+
msgid "Display Comment Count"
|
194 |
+
msgstr "Kommentar Zähler anzeigen"
|
195 |
+
|
196 |
+
#: includes/form.php:258
|
197 |
+
msgid "Display Date"
|
198 |
+
msgstr "Datum anzeigen"
|
199 |
+
|
200 |
+
#: includes/form.php:265
|
201 |
+
msgid "Display Modification Date"
|
202 |
+
msgstr "Änderungsdatum anzeigen"
|
203 |
+
|
204 |
+
#: includes/form.php:272
|
205 |
+
msgid "Use Relative Date. eg: 5 days ago"
|
206 |
+
msgstr "Relatives Datum verwenden. z.B. vor 5 Tagen"
|
207 |
+
|
208 |
+
#: includes/form.php:284
|
209 |
+
msgid "Use Default Styles"
|
210 |
+
msgstr "Verwende standard styles"
|
211 |
+
|
212 |
+
#: includes/form.php:290
|
213 |
+
msgid "Custom CSS"
|
214 |
+
msgstr "Benutzerdefiniertes CSS"
|
215 |
+
|
216 |
+
#: includes/form.php:293
|
217 |
+
msgid "If you turn off the default styles, you can use these css code to customize the recent posts style."
|
218 |
+
msgstr "Wenn standard styles deaktiviert wird, können diese styles zum anpassen des benutzerdefinierten styles verwendet werden"
|
219 |
+
|
220 |
+
#: includes/functions.php:22
|
221 |
+
msgid "Recent Posts"
|
222 |
+
msgstr "letzte Beiträge"
|
223 |
+
|
224 |
+
#: includes/functions.php:48
|
225 |
+
msgid "Read More »"
|
226 |
+
msgstr "weiterlesen »"
|
227 |
+
|
228 |
+
#: includes/functions.php:170
|
229 |
+
msgid "Permalink to %s"
|
230 |
+
msgstr "Permalink to %s"
|
231 |
+
|
232 |
+
#: includes/functions.php:175 includes/functions.php:181
|
233 |
+
msgid "%s ago"
|
234 |
+
msgstr "vor %s"
|
235 |
+
|
236 |
+
#: includes/functions.php:188
|
237 |
+
msgid "No Comments"
|
238 |
+
msgstr "keine Kommentare"
|
239 |
+
|
240 |
+
#: includes/functions.php:190
|
241 |
+
msgid "%s Comments"
|
242 |
+
msgstr "%s Kommentare"
|
243 |
+
|
244 |
+
#: includes/functions.php:192
|
245 |
+
msgid "1 Comment"
|
246 |
+
msgstr "ein Kommentar"
|
247 |
+
|
248 |
+
#. Plugin Name of the plugin/theme
|
249 |
+
msgid "Recent Posts Widget Extended"
|
250 |
+
msgstr "Recent Posts Widget Extended"
|
251 |
+
|
252 |
+
#. Plugin URI of the plugin/theme
|
253 |
+
msgid "https://themephe.com/items/recent-posts-widget-extended/"
|
254 |
+
msgstr "https://themephe.com/items/recent-posts-widget-extended/"
|
255 |
+
|
256 |
+
#. Description of the plugin/theme
|
257 |
+
msgid "Enables advanced widget that gives you total control over the output of your site’s most recent Posts."
|
258 |
+
msgstr "Stellt ein widget zur Verfügung dass dir die totale Kontrolle über dieAusgabe der letzten Beiträge ermöglicht."
|
259 |
+
|
260 |
+
#. Author of the plugin/theme
|
261 |
+
msgid "Satrya"
|
262 |
+
msgstr "Satrya"
|
263 |
+
|
264 |
+
#. Author URI of the plugin/theme
|
265 |
+
msgid "https://themephe.com/"
|
266 |
+
msgstr "https://themephe.com/"
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Recent Posts Widget Extended ===
|
2 |
-
Contributors:
|
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.9
|
5 |
Tested up to: 4.3.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 |
|
@@ -13,12 +13,6 @@ Provides flexible and advanced recent posts. Display it via shortcode or widget
|
|
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 |
-
= New Features =
|
17 |
-
|
18 |
-
* Display modification date
|
19 |
-
* Display comment count
|
20 |
-
* Exclude current post
|
21 |
-
|
22 |
= Features Include =
|
23 |
|
24 |
* WordPress 4.3.1 Support.
|
@@ -35,6 +29,9 @@ This plugin will enable a custom, flexible and super advanced recent posts, you
|
|
35 |
* Display from all, specific or multiple category.
|
36 |
* Display from all, specific or multiple tag.
|
37 |
* Display post date.
|
|
|
|
|
|
|
38 |
* Read more option.
|
39 |
* Post type option.
|
40 |
* Custom CSS.
|
@@ -45,27 +42,15 @@ This plugin will enable a custom, flexible and super advanced recent posts, you
|
|
45 |
* English
|
46 |
* France
|
47 |
* Brazilian Portuguese
|
48 |
-
* [Contribute to your language](https://github.com/
|
49 |
|
50 |
= Support =
|
51 |
|
52 |
* [Forum support](http://wordpress.org/support/plugin/recent-posts-widget-extended).
|
53 |
* [Rate/Review the plugin](http://wordpress.org/support/view/plugin-reviews/recent-posts-widget-extended).
|
54 |
-
* [Submit translation](https://github.com/
|
55 |
-
|
56 |
-
|
57 |
-
* Developed by [ThemePhe](https://themephe.com/)
|
58 |
-
* Check out the [Github](https://github.com/themephe/recent-posts-widget-extended) repo to contribute.
|
59 |
-
|
60 |
-
= Contributors =
|
61 |
-
* [David Kryzaniak](http://profiles.wordpress.org/davidkryzaniak/)
|
62 |
-
* [AKbyte](http://profiles.wordpress.org/akbyte/)
|
63 |
-
* [Alexander Sidorov](https://github.com/lkart)
|
64 |
-
* [Rubens Mariuzzo](https://github.com/rmariuzzo)
|
65 |
-
* [Ikart](https://github.com/lkart)
|
66 |
-
* [Gil Barbara](https://github.com/gilbarbara)
|
67 |
-
* [kurt-hectic](https://github.com/kurt-hectic)
|
68 |
-
* [Oliver Larsen](https://github.com/CandyFace)
|
69 |
|
70 |
== Installation ==
|
71 |
|
@@ -253,23 +238,24 @@ after=""
|
|
253 |
|
254 |
== Changelog ==
|
255 |
|
256 |
-
|
|
|
257 |
|
258 |
-
= 0.9.9.3 - 19/09/2015 =
|
259 |
- Change text-domain to matches the plugin slug
|
260 |
- **Add:** Exclude post option
|
261 |
|
262 |
-
= 0.9.9.2 - 13/08/2015 =
|
263 |
- **Add:** Brazilian portuguese translation. Props [Gil Barbara](https://github.com/gilbarbara)
|
264 |
- **Add:** Option to show modification date. Props [kurt-hectic](https://github.com/kurt-hectic)
|
265 |
- **Add:** Option to show comment count. Props [Oliver Larsen](https://github.com/CandyFace)
|
266 |
- **Improve:** Add validation to the `Order` and `Orderby` option before saving the widget.
|
267 |
|
268 |
-
= 0.9.9.1 - 12/07/2015 =
|
269 |
- Prepare to support WordPress 4.3
|
270 |
- **Update:** Limit the number of `tags` and `categories` displayed in the widget
|
271 |
|
272 |
-
= 0.9.9 - 29/11/2014 =
|
273 |
- **Fix:** for "cssID" attribute in shortcodes. Props [Ikart](https://github.com/lkart)
|
274 |
- **Fix:** Thumbnail fallback uses `get_the_post_thumbnail`
|
275 |
- **Add:** `rpwe-img` to the thumbnail.
|
@@ -277,7 +263,7 @@ after=""
|
|
277 |
- **Improve:** Move `use styles default` option to above the custom css. I'm sorry for the incosistency.
|
278 |
- **Update:** Language
|
279 |
|
280 |
-
= 0.9.8 - 26/11/2014 =
|
281 |
* **Fix:** Compatibility issue with `Get The Image` plugin/extension.
|
282 |
* **Fix:** Issue with `html or text before and after recent posts`, now it allow all HTML tags.
|
283 |
|
1 |
=== Recent Posts Widget Extended ===
|
2 |
+
Contributors: themejunkie, satrya
|
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.9
|
5 |
Tested up to: 4.3.1
|
6 |
+
Stable tag: 0.9.9.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
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.1 Support.
|
29 |
* Display from all, specific or multiple category.
|
30 |
* Display from all, specific or multiple tag.
|
31 |
* Display post date.
|
32 |
+
* Display modification date
|
33 |
+
* Display comment count
|
34 |
+
* Exclude current post
|
35 |
* Read more option.
|
36 |
* Post type option.
|
37 |
* Custom CSS.
|
42 |
* English
|
43 |
* France
|
44 |
* Brazilian Portuguese
|
45 |
+
* [Contribute to your language](https://github.com/themejunkie/recent-posts-widget-extended/issues)
|
46 |
|
47 |
= Support =
|
48 |
|
49 |
* [Forum support](http://wordpress.org/support/plugin/recent-posts-widget-extended).
|
50 |
* [Rate/Review the plugin](http://wordpress.org/support/view/plugin-reviews/recent-posts-widget-extended).
|
51 |
+
* [Submit translation](https://github.com/themejunkie/recent-posts-widget-extended/issues).
|
52 |
+
|
53 |
+
> Developed by [Theme Junkie](http://www.theme-junkie.com/)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
== Installation ==
|
56 |
|
238 |
|
239 |
== Changelog ==
|
240 |
|
241 |
+
= 0.9.9.4 - Nov 09, 2015 =
|
242 |
+
- Sanitize `before` and `after` element for better security
|
243 |
|
244 |
+
= 0.9.9.3 - 19/09/2015 =
|
245 |
- Change text-domain to matches the plugin slug
|
246 |
- **Add:** Exclude post option
|
247 |
|
248 |
+
= 0.9.9.2 - 13/08/2015 =
|
249 |
- **Add:** Brazilian portuguese translation. Props [Gil Barbara](https://github.com/gilbarbara)
|
250 |
- **Add:** Option to show modification date. Props [kurt-hectic](https://github.com/kurt-hectic)
|
251 |
- **Add:** Option to show comment count. Props [Oliver Larsen](https://github.com/CandyFace)
|
252 |
- **Improve:** Add validation to the `Order` and `Orderby` option before saving the widget.
|
253 |
|
254 |
+
= 0.9.9.1 - 12/07/2015 =
|
255 |
- Prepare to support WordPress 4.3
|
256 |
- **Update:** Limit the number of `tags` and `categories` displayed in the widget
|
257 |
|
258 |
+
= 0.9.9 - 29/11/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.
|
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 - 26/11/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
@@ -1,23 +1,23 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Recent Posts Widget Extended
|
4 |
-
* Plugin URI:
|
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:
|
9 |
-
* Author Email:
|
10 |
* Text Domain: recent-posts-widget-extended
|
11 |
* Domain Path: /languages
|
12 |
*
|
13 |
-
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
|
14 |
-
* General Public License as published by the Free Software Foundation; either version 2 of the License,
|
15 |
* or (at your option) any later version.
|
16 |
*
|
17 |
-
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
18 |
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
19 |
*
|
20 |
-
* You should have received a copy of the GNU General Public License along with this program; if not, write
|
21 |
* to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
22 |
*
|
23 |
* @package Recent_Posts_Widget_Extended
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Recent Posts Widget Extended
|
4 |
+
* Plugin URI: http://www.theme-junkie.com/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.4
|
7 |
* Author: Satrya
|
8 |
+
* Author URI: http://www.theme-junkie.com/
|
9 |
+
* Author Email: support@theme-junkie.com
|
10 |
* Text Domain: recent-posts-widget-extended
|
11 |
* Domain Path: /languages
|
12 |
*
|
13 |
+
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
|
14 |
+
* General Public License as published by the Free Software Foundation; either version 2 of the License,
|
15 |
* or (at your option) any later version.
|
16 |
*
|
17 |
+
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
18 |
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
19 |
*
|
20 |
+
* You should have received a copy of the GNU General Public License along with this program; if not, write
|
21 |
* to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
22 |
*
|
23 |
* @package Recent_Posts_Widget_Extended
|