List category posts - Version 0.27

Version Description

  • Fixes to widget.
    • Adds year and month parameters to list posts from a certain year and/or month.
    • Adds search parameter to display posts that match a search term.
Download this release

Release Info

Developer fernandobt
Plugin Icon 128x128 List category posts
Version 0.27
Comparing to
See all releases

Code changes from version 0.25 to 0.27

include/CatList.php CHANGED
@@ -54,12 +54,27 @@ class CatList{
54
  $args['post_status'] = $this->params['post_status'];
55
  endif;
56
 
57
-
58
  if(isset($this->params['post_parent']) &&
59
- $this->params['post_parent'] != '0'):
60
  $args['post_parent'] = $this->params['post_parent'];
61
  endif;
62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  /*
64
  * Custom fields 'customfield_name' & 'customfield_value'
65
  * should both be defined
@@ -256,12 +271,13 @@ class CatList{
256
  $single->post_content) ):
257
 
258
  if($single->post_excerpt):
259
- return $single->post_excerpt;
260
  else:
261
  $lcp_excerpt = strip_shortcodes(strip_tags($single->post_content));
262
- $excerpt_length = intval($this->params['excerpt_size']);
263
- return wp_trim_words($lcp_excerpt, $excerpt_length);
264
  endif;
 
 
 
265
  else:
266
  return null;
267
  endif;
54
  $args['post_status'] = $this->params['post_status'];
55
  endif;
56
 
 
57
  if(isset($this->params['post_parent']) &&
58
+ $this->params['post_parent'] != '0'):
59
  $args['post_parent'] = $this->params['post_parent'];
60
  endif;
61
 
62
+ if(isset($this->params['year']) &&
63
+ $this->params['year'] != ''):
64
+ $args['year'] = $this->params['year'];
65
+ endif;
66
+
67
+ if(isset($this->params['monthnum']) &&
68
+ $this->params['monthnum'] != ''):
69
+ $args['monthnum'] = $this->params['monthnum'];
70
+ endif;
71
+
72
+ if(isset($this->params['search']) &&
73
+ $this->params['search'] != ''):
74
+ $args['s'] = $this->params['search'];
75
+ endif;
76
+
77
+
78
  /*
79
  * Custom fields 'customfield_name' & 'customfield_value'
80
  * should both be defined
271
  $single->post_content) ):
272
 
273
  if($single->post_excerpt):
274
+ $lcp_excerpt = $single->post_excerpt;
275
  else:
276
  $lcp_excerpt = strip_shortcodes(strip_tags($single->post_content));
 
 
277
  endif;
278
+
279
+ $excerpt_length = intval($this->params['excerpt_size']);
280
+ return wp_trim_words($lcp_excerpt, $excerpt_length);
281
  else:
282
  return null;
283
  endif;
include/ListCategoryPostsWidget.php CHANGED
@@ -8,8 +8,8 @@ require_once 'CatListDisplayer.php';
8
  class ListCategoryPostsWidget extends WP_Widget{
9
 
10
  function ListCategoryPostsWidget() {
11
- $opts = array('description' => 'List posts from a specified category');
12
- parent::WP_Widget(false, $name = 'List Category Posts', $opts);
13
  }
14
 
15
  function widget($args, $instance) {
@@ -89,8 +89,4 @@ class ListCategoryPostsWidget extends WP_Widget{
89
  }
90
 
91
  add_action('widgets_init', create_function('', 'return register_widget("listCategoryPostsWidget");'));
92
-
93
- # Working on i18n, if you want to give a hand visit: http://wordpress.stackexchange.com/questions/32339/widget-translation-on-my-plugin
94
- # $translation_dir = '../languages';
95
- # load_plugin_textdomain( 'list-category-posts', null, $translation_dir );
96
  ?>
8
  class ListCategoryPostsWidget extends WP_Widget{
9
 
10
  function ListCategoryPostsWidget() {
11
+ $opts = array('description' => __('List posts from a specified category','list-category-posts') );
12
+ parent::WP_Widget(false, $name = __('List Category Posts','list-category-posts'), $opts);
13
  }
14
 
15
  function widget($args, $instance) {
89
  }
90
 
91
  add_action('widgets_init', create_function('', 'return register_widget("listCategoryPostsWidget");'));
 
 
 
 
92
  ?>
include/lcp_widget_form.php CHANGED
@@ -1,123 +1,166 @@
1
  <?php
2
- /**
3
- * List Category Posts sidebar widget form for Appearance > Widgets.
4
- * @author fernando@picandocodigo.net
5
- */
6
- $default = array (
7
- 'title' => '',
8
- 'categoryid' => '',
9
- 'limit' => '',
10
- 'orderby'=>'',
11
- 'order'=>'',
12
- 'show_date'=>'',
13
- 'show_author'=>'',
14
- 'show_excerpt'=>'',
15
- 'exclude'=>'',
16
- 'excludeposts'=>'',
17
- 'thumbnail' =>'',
18
- 'offset'=>'',
19
- 'show_catlink'=>'',
20
- 'morelink' =>''
21
- );
22
- $instance = wp_parse_args( (array) $instance, $default);
23
- $title = strip_tags($instance['title']);
24
- $limit = strip_tags($instance['limit']);
25
- $orderby = strip_tags($instance['orderby']);
26
- $order = strip_tags($instance['order']);
27
- $showdate = strip_tags($instance['show_date']);
28
- $showauthor = strip_tags($instance['show_author']);
29
- $exclude = strip_tags($instance['exclude']);
30
- $excludeposts = strip_tags($instance['excludeposts']);
31
- $offset = strip_tags($instance['offset']);
32
- $showcatlink = strip_tags($instance['show_catlink']);
33
- $categoryid = strip_tags($instance['categoryid']);
34
- $showexcerpt = strip_tags($instance['show_excerpt']);
35
- $thumbnail = strip_tags($instance['thumbnail']);
36
- $thumbnail_size = strip_tags($instance['thumbnail_size']);
37
- $morelink = strip_tags($instance['morelink']);
38
  ?>
39
 
40
- <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e("Title", 'list-category-posts')?></label>
41
- <br/>
42
- <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>"
43
- name="<?php echo $this->get_field_name('title'); ?>" type="text"
44
- value="<?php echo esc_attr($title); ?>" />
 
 
 
45
  </p>
46
 
47
- <p><label for="<?php echo $this->get_field_id('categoryid'); ?>"><?php _e("Category", 'list-category-posts')?></label>
48
- <br/>
49
- <select id="<?php echo $this->get_field_id('categoryid'); ?>" name="<?php echo $this->get_field_name('categoryid'); ?>">
50
- <?php
51
- $categories= get_categories();
52
- foreach ($categories as $cat) :
53
- $option = '<option value="' . $cat->cat_ID . '" ';
54
- if ($cat->cat_ID == $categoryid) :
55
- $option .= ' selected = "selected" ';
56
- endif;
57
- $option .= '">';
58
- $option .= $cat->cat_name;
59
- $option .= '</option>';
60
- echo $option;
61
- endforeach;
62
- ?>
63
- </select></p>
 
 
 
 
64
 
65
- <p><label for="<?php echo $this->get_field_id('limit'); ?>"><?php _e("Number of posts", 'list-category-posts')?></label>
66
- <br/>
67
- <input size="2" id="<?php echo $this->get_field_id('limit'); ?>"
68
- name="<?php echo $this->get_field_name('limit'); ?>" type="text"
69
- value="<?php echo esc_attr($limit); ?>" />
 
 
 
70
  </p>
71
 
72
- <p><label for="<?php echo $this->get_field_id('offset'); ?>"><?php _e("Offset", 'list-category-posts')?>: <br/>
73
- <input size="2" id="<?php echo $this->get_field_id('offset'); ?>"
74
- name="<?php echo $this->get_field_name('offset'); ?>" type="text"
 
 
75
  value="<?php echo esc_attr($offset); ?>" />
76
- </label></p>
77
-
78
- <p><label for="<?php echo $this->get_field_id('orderby'); ?>"><?php _e("Order by", 'list-category-posts')?></label> <br/>
79
- <select id="<?php echo $this->get_field_id('orderby'); ?>"
80
- name="<?php echo $this->get_field_name('orderby'); ?>" type="text" >
81
- <option value='date'><?php _e("Date", 'list-category-posts')?></option>
82
- <option value='title'><?php _e("Post title", 'list-category-posts')?></option>
83
- <option value='author'><?php _e("Author", 'list-category-posts')?></option>
84
- <option value='rand'><?php _e("Random", 'list-category-posts')?></option>
85
- </select>
86
  </p>
87
 
88
- <p><label for="<?php echo $this->get_field_id('order'); ?>"><?php _e("Order", 'list-category-posts')?></label><br/>
89
- <select id="<?php echo $this->get_field_id('order'); ?>"
90
- name="<?php echo $this->get_field_name('order'); ?>" type="text">
91
- <option value='desc'><?php _e("Descending", 'list-category-posts')?></option>
92
- <option value='asc'><?php _e("Ascending", 'list-category-posts')?></option>
93
- </select>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  </p>
95
 
96
- <p><label for="<?php echo $this->get_field_id('exclude'); ?>"><?php _e("Exclude categories (id's)", 'list-category-posts')?></label><br/>
97
- <input id="<?php echo $this->get_field_id('exclude'); ?>"
98
- name="<?php echo $this->get_field_name('exclude'); ?>" type="text"
99
- value="<?php echo esc_attr($exclude); ?>" />
 
 
 
 
 
 
 
 
 
 
100
  </p>
101
 
102
- <p><label for="<?php echo $this->get_field_id('excludeposts'); ?>"><?php _e("Exclude posts (id's)", 'list-category-posts')?></label><br/>
103
- <input id="<?php echo $this->get_field_id('excludeposts'); ?>"
104
- name="<?php echo $this->get_field_name('excludeposts'); ?>" type="text"
105
- value="<?php echo esc_attr($excludeposts); ?>" />
 
 
 
 
106
  </p>
107
 
 
 
 
 
 
 
 
 
 
108
 
109
- <label><?php _e("Show", 'list-category-posts')?>: </label><br/>
110
  <p>
111
- <input type="checkbox" <?php checked( (bool) $instance['thumbnail'], true ); ?>
 
112
  name="<?php echo $this->get_field_name( 'thumbnail'); ?>" /> <?php _e("Thumbnail - size", 'list-category-posts')?>
113
  <select id="<?php echo $this->get_field_id('thumbnail_size'); ?>"
114
- name="<?php echo $this->get_field_name( 'thumbnail_size' ); ?>" type="text">
115
- <option value='thumbnail'>thumbnail</option>
116
- <option value='medium'>medium</option>
117
- <option value='large'>large</option>
118
- <option value='full'>full</option>
119
  </select>
120
  </p>
 
121
  <p>
122
  <input class="checkbox" type="checkbox" <?php checked($instance['show_date'], true ); ?>
123
  name="<?php echo $this->get_field_name( 'show_date' ); ?>" /> <?php _e("Date", 'list-category-posts')?>
@@ -135,9 +178,12 @@ $morelink = strip_tags($instance['morelink']);
135
  name="<?php echo $this->get_field_name( 'show_excerpt' ); ?>" /> <?php _e("Excerpt", 'list-category-posts')?>
136
  </p>
137
  <p>
138
- <label for="<?php echo $this->get_field_id('morelink'); ?>"><?php _e("More link", 'list-category-posts')?>: <br/>
139
- <input class="widefat" id="<?php echo $this->get_field_id('morelink'); ?>"
140
- name="<?php echo $this->get_field_name('morelink'); ?>" type="text"
141
- value="<?php echo esc_attr($morelink); ?>" />
142
- </p>
 
 
 
143
 
1
  <?php
2
+ /**
3
+ * List Category Posts sidebar widget form for Appearance > Widgets.
4
+ * @author fernando@picandocodigo.net
5
+ */
6
+ $default = array (
7
+ 'title' => '',
8
+ 'categoryid' => '',
9
+ 'limit' => '',
10
+ 'orderby'=>'',
11
+ 'order'=>'',
12
+ 'show_date'=>'',
13
+ 'show_author'=>'',
14
+ 'show_excerpt'=>'',
15
+ 'exclude'=>'',
16
+ 'excludeposts'=>'',
17
+ 'thumbnail' =>'',
18
+ 'offset'=>'',
19
+ 'show_catlink'=>'',
20
+ 'morelink' =>''
21
+ );
22
+ $instance = wp_parse_args( (array) $instance, $default);
23
+ $title = strip_tags($instance['title']);
24
+ $limit = strip_tags($instance['limit']);
25
+ $orderby = strip_tags($instance['orderby']);
26
+ $order = strip_tags($instance['order']);
27
+ $showdate = strip_tags($instance['show_date']);
28
+ $showauthor = strip_tags($instance['show_author']);
29
+ $exclude = strip_tags($instance['exclude']);
30
+ $excludeposts = strip_tags($instance['excludeposts']);
31
+ $offset = strip_tags($instance['offset']);
32
+ $showcatlink = strip_tags($instance['show_catlink']);
33
+ $categoryid = strip_tags($instance['categoryid']);
34
+ $showexcerpt = strip_tags($instance['show_excerpt']);
35
+ $thumbnail = strip_tags($instance['thumbnail']);
36
+ $thumbnail_size = strip_tags($instance['thumbnail_size']);
37
+ $morelink = strip_tags($instance['morelink']);
38
  ?>
39
 
40
+ <p>
41
+ <label for="<?php echo $this->get_field_id('title'); ?>">
42
+ <?php _e("Title", 'list-category-posts')?>
43
+ </label>
44
+ <br/>
45
+ <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>"
46
+ name="<?php echo $this->get_field_name('title'); ?>" type="text"
47
+ value="<?php echo esc_attr($title); ?>" />
48
  </p>
49
 
50
+ <p>
51
+ <label for="<?php echo $this->get_field_id('categoryid'); ?>">
52
+ <?php _e("Category", 'list-category-posts')?>
53
+ </label>
54
+ <br/>
55
+ <select id="<?php echo $this->get_field_id('categoryid'); ?>" name="<?php echo $this->get_field_name('categoryid'); ?>">
56
+ <?php
57
+ $categories= get_categories();
58
+ foreach ($categories as $cat) :
59
+ $option = '<option value="' . $cat->cat_ID . '" ';
60
+ if ($cat->cat_ID == $categoryid) :
61
+ $option .= ' selected = "selected" ';
62
+ endif;
63
+ $option .= '">';
64
+ $option .= $cat->cat_name;
65
+ $option .= '</option>';
66
+ echo $option;
67
+ endforeach;
68
+ ?>
69
+ </select>
70
+ </p>
71
 
72
+ <p>
73
+ <label for="<?php echo $this->get_field_id('limit'); ?>">
74
+ <?php _e("Number of posts", 'list-category-posts')?>
75
+ </label>
76
+ <br/>
77
+ <input size="2" id="<?php echo $this->get_field_id('limit'); ?>"
78
+ name="<?php echo $this->get_field_name('limit'); ?>" type="text"
79
+ value="<?php echo esc_attr($limit); ?>" />
80
  </p>
81
 
82
+ <p>
83
+ <label for="<?php echo $this->get_field_id('offset'); ?>">
84
+ <?php _e("Offset", 'list-category-posts')?>: <br/>
85
+ <input size="2" id="<?php echo $this->get_field_id('offset'); ?>"
86
+ name="<?php echo $this->get_field_name('offset'); ?>" type="text"
87
  value="<?php echo esc_attr($offset); ?>" />
88
+ </label>
 
 
 
 
 
 
 
 
 
89
  </p>
90
 
91
+ <p>
92
+ <label for="<?php echo $this->get_field_id('orderby'); ?>">
93
+ <?php _e("Order by", 'list-category-posts')?>
94
+ </label> <br/>
95
+ <select id="<?php echo $this->get_field_id('orderby'); ?>"
96
+ name="<?php echo $this->get_field_name('orderby'); ?>" type="text" >
97
+ <?php $lcp_orders = array("date" => "Date",
98
+ "title" => "Post title",
99
+ "author" => "Author",
100
+ "rand" => "Random");
101
+ foreach ($lcp_orders as $key=>$value):
102
+ $option = '<option value="' . $key . '" ';
103
+ if ($orderby == $key):
104
+ $option .= ' selected = "selected" ';
105
+ endif;
106
+ $option .= '>';
107
+ echo $option;
108
+ _e($value, 'list-category-posts');
109
+ echo '</option>';
110
+ endforeach;
111
+ ?>
112
+ </select>
113
  </p>
114
 
115
+ <p>
116
+ <label for="<?php echo $this->get_field_id('order'); ?>">
117
+ <?php _e("Order", 'list-category-posts')?>
118
+ </label>
119
+ <br/>
120
+ <select id="<?php echo $this->get_field_id('order'); ?>"
121
+ name="<?php echo $this->get_field_name('order'); ?>" type="text">
122
+ <option value='desc' <?php if($order == 'desc'): echo "selected: selected"; endif;?>>
123
+ <?php _e("Descending", 'list-category-posts')?>
124
+ </option>
125
+ <option value='asc' <?php if($order == 'asc'): echo "selected: selected"; endif; ?>>
126
+ <?php _e("Ascending", 'list-category-posts')?>
127
+ </option>
128
+ </select>
129
  </p>
130
 
131
+ <p>
132
+ <label for="<?php echo $this->get_field_id('exclude'); ?>">
133
+ <?php _e("Exclude categories (id's)", 'list-category-posts')?>
134
+ </label>
135
+ <br/>
136
+ <input id="<?php echo $this->get_field_id('exclude'); ?>"
137
+ name="<?php echo $this->get_field_name('exclude'); ?>" type="text"
138
+ value="<?php echo esc_attr($exclude); ?>" />
139
  </p>
140
 
141
+ <p>
142
+ <label for="<?php echo $this->get_field_id('excludeposts'); ?>">
143
+ <?php _e("Exclude posts (id's)", 'list-category-posts')?>
144
+ </label>
145
+ <br/>
146
+ <input id="<?php echo $this->get_field_id('excludeposts'); ?>"
147
+ name="<?php echo $this->get_field_name('excludeposts'); ?>" type="text"
148
+ value="<?php echo esc_attr($excludeposts); ?>" />
149
+ </p>
150
 
 
151
  <p>
152
+ <label><?php _e("Show", 'list-category-posts')?>: </label><br/>
153
+ <input type="checkbox" <?php checked( (bool) $instance['thumbnail'], true ); ?>
154
  name="<?php echo $this->get_field_name( 'thumbnail'); ?>" /> <?php _e("Thumbnail - size", 'list-category-posts')?>
155
  <select id="<?php echo $this->get_field_id('thumbnail_size'); ?>"
156
+ name="<?php echo $this->get_field_name( 'thumbnail_size' ); ?>" type="text">
157
+ <option value='thumbnail'>thumbnail</option>
158
+ <option value='medium'>medium</option>
159
+ <option value='large'>large</option>
160
+ <option value='full'>full</option>
161
  </select>
162
  </p>
163
+
164
  <p>
165
  <input class="checkbox" type="checkbox" <?php checked($instance['show_date'], true ); ?>
166
  name="<?php echo $this->get_field_name( 'show_date' ); ?>" /> <?php _e("Date", 'list-category-posts')?>
178
  name="<?php echo $this->get_field_name( 'show_excerpt' ); ?>" /> <?php _e("Excerpt", 'list-category-posts')?>
179
  </p>
180
  <p>
181
+ <label for="<?php echo $this->get_field_id('morelink'); ?>">
182
+ <?php _e("More link", 'list-category-posts')?>:
183
+ </label>
184
+ <br/>
185
+ <input class="widefat" id="<?php echo $this->get_field_id('morelink'); ?>"
186
+ name="<?php echo $this->get_field_name('morelink'); ?>" type="text"
187
+ value="<?php echo esc_attr($morelink); ?>" />
188
+ </p>
189
 
languages/list-category-posts-de_DE.mo ADDED
Binary file
languages/list-category-posts-de_DE.po ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of List category posts in German
2
+ # This file is distributed under the same license as the List category posts package.
3
+ msgid ""
4
+ msgstr ""
5
+ "PO-Revision-Date: 2012-12-19 14:49:20+0000\n"
6
+ "MIME-Version: 1.0\n"
7
+ "Content-Type: text/plain; charset=UTF-8\n"
8
+ "Content-Transfer-Encoding: 8bit\n"
9
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
+ "X-Generator: translate.foe-services.de/ReGlot/0.1\n"
11
+ "Project-Id-Version: List category posts\n"
12
+ "Language-Team: Translate.foe-services.de <translate@foe-services.de>\n"
13
+ "Language: German\n"
14
+
15
+ #: include/lcp_widget_form.php:40
16
+ msgid "Title"
17
+ msgstr "Titel"
18
+
19
+ #: include/lcp_widget_form.php:47
20
+ msgid "Category"
21
+ msgstr "Kategorie"
22
+
23
+ #: include/lcp_widget_form.php:65
24
+ msgid "Number of posts"
25
+ msgstr "Anzahl der Beiträge"
26
+
27
+ #: include/lcp_widget_form.php:72
28
+ msgid "Offset"
29
+ msgstr "Offset"
30
+
31
+ #: include/lcp_widget_form.php:78
32
+ msgid "Order by"
33
+ msgstr "Sortieren nach"
34
+
35
+ #: include/lcp_widget_form.php:81 include/lcp_widget_form.php:123
36
+ msgid "Date"
37
+ msgstr "Datum"
38
+
39
+ #: include/lcp_widget_form.php:82
40
+ msgid "Post title"
41
+ msgstr "Artikeltitel"
42
+
43
+ #: include/lcp_widget_form.php:83 include/lcp_widget_form.php:127
44
+ msgid "Author"
45
+ msgstr "Autor"
46
+
47
+ #: include/lcp_widget_form.php:84
48
+ msgid "Random"
49
+ msgstr "Zufällig"
50
+
51
+ #: include/lcp_widget_form.php:88
52
+ msgid "Order"
53
+ msgstr "Sortierung"
54
+
55
+ #: include/lcp_widget_form.php:91
56
+ msgid "Descending"
57
+ msgstr "Absteigend"
58
+
59
+ #: include/lcp_widget_form.php:92
60
+ msgid "Ascending"
61
+ msgstr "Aufsteigend"
62
+
63
+ #: include/lcp_widget_form.php:96
64
+ msgid "Exclude categories (id's)"
65
+ msgstr "Kategorien ausschließen (id's)"
66
+
67
+ #: include/lcp_widget_form.php:102
68
+ msgid "Exclude posts (id's)"
69
+ msgstr "Artikel ausschließen (id's)"
70
+
71
+ #: include/lcp_widget_form.php:109
72
+ msgid "Show"
73
+ msgstr "Anzeigen"
74
+
75
+ #: include/lcp_widget_form.php:112
76
+ msgid "Thumbnail - size"
77
+ msgstr "Größe der Miniaturbilder"
78
+
79
+ #: include/lcp_widget_form.php:131
80
+ msgid "Link to category"
81
+ msgstr "Link zur Kategorie"
82
+
83
+ #: include/lcp_widget_form.php:135
84
+ msgid "Excerpt"
85
+ msgstr "Auszug"
86
+
87
+ #: include/lcp_widget_form.php:138
88
+ msgid "More link"
89
+ msgstr "Mehr Link"
90
+
91
+ #: include/ListCategoryPostsWidget.php:5
92
+ msgid "List Category Posts allows you to list posts from a category into a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, and the number of posts to display. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2]."
93
+ msgstr "List Category Posts ermöglicht es Artikel einer Kategorie in einem Artikel oder auf einer Seite mit dem Shortcode [catlist] anzuzeigen. Der Shortcode akzeptiert Kategorie-Name oder -ID, Sortierung und Anzahl der Artikel. [catlist] kann so oft wie gewünscht eingesetzt werden. Nutzung: [catlist argument1=wert1 argument2=wert2]"
94
+
95
+ #: include/ListCategoryPostsWidget.php:11
96
+ msgid "List posts from a specified category"
97
+ msgstr "Liste Artikel einer festgelegten Kategorie auf"
98
+
99
+ #: include/ListCategoryPostsWidget.php:12
100
+ msgid "List Category Posts"
101
+ msgstr "List Category Posts"
languages/list-category-posts-es_ES.mo ADDED
Binary file
languages/list-category-posts-es_ES.po ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012
2
+ # This file is distributed under the same license as the package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: list-category-posts\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp\n"
7
+ "POT-Creation-Date: 2012-12-19 13:23:13+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: 2012-12-21 02:40-0300\n"
12
+ "Last-Translator: Fernando Briano <fernando@picandocodigo.net>\n"
13
+ "Language-Team: <fernando@picandocodigo.net>\n"
14
+ "Language: es_ES\n"
15
+
16
+ #: include/ListCategoryPostsWidget.php:5
17
+ msgid ""
18
+ "List Category Posts allows you to list posts from a category into a post/"
19
+ "page using the [catlist] shortcode. This shortcode accepts a category name "
20
+ "or id, the order in which you want the posts to display, and the number of "
21
+ "posts to display. You can use [catlist] as many times as needed with "
22
+ "different arguments. Usage: [catlist argument1=value1 argument2=value2]."
23
+ msgstr ""
24
+ "List Category Posts te permite listar posts de una categoría en una página o "
25
+ "post usando el shortcode [catlist]. Este shortcode acepta el nombre o id de "
26
+ "una categoría, el orden en el que quieres que aparezcan los post, y la "
27
+ "cantidad de posts a mostrar. Puedes usar [catlist] cuantas veces sea "
28
+ "necesario con argumentos diferente. Modo de uso: [catlist argumento1=valor "
29
+ "argumento2=valor]."
30
+
31
+ #: include/ListCategoryPostsWidget.php:11
32
+ msgid "List posts from a specified category"
33
+ msgstr "Listar posts de una categoría especificada"
34
+
35
+ #: include/ListCategoryPostsWidget.php:12
36
+ msgid "List Category Posts"
37
+ msgstr "List Category Posts"
38
+
39
+ #: include/lcp_widget_form.php:40
40
+ msgid "Title"
41
+ msgstr "Título"
42
+
43
+ #: include/lcp_widget_form.php:47
44
+ msgid "Category"
45
+ msgstr "Categoría"
46
+
47
+ #: include/lcp_widget_form.php:65
48
+ msgid "Number of posts"
49
+ msgstr "Cantidad de posts"
50
+
51
+ #: include/lcp_widget_form.php:72
52
+ msgid "Offset"
53
+ msgstr "Offset"
54
+
55
+ #: include/lcp_widget_form.php:78
56
+ msgid "Order by"
57
+ msgstr "Ordenar por"
58
+
59
+ #: include/lcp_widget_form.php:81 include/lcp_widget_form.php:123
60
+ msgid "Date"
61
+ msgstr "Fecha"
62
+
63
+ #: include/lcp_widget_form.php:82
64
+ msgid "Post title"
65
+ msgstr "Título del post"
66
+
67
+ #: include/lcp_widget_form.php:83 include/lcp_widget_form.php:127
68
+ msgid "Author"
69
+ msgstr "Autor"
70
+
71
+ #: include/lcp_widget_form.php:84
72
+ msgid "Random"
73
+ msgstr "Al azar"
74
+
75
+ #: include/lcp_widget_form.php:88
76
+ msgid "Order"
77
+ msgstr "Orden"
78
+
79
+ #: include/lcp_widget_form.php:91
80
+ msgid "Descending"
81
+ msgstr "Descendiente"
82
+
83
+ #: include/lcp_widget_form.php:92
84
+ msgid "Ascending"
85
+ msgstr "Ascendiente"
86
+
87
+ #: include/lcp_widget_form.php:96
88
+ msgid "Exclude categories (id's)"
89
+ msgstr "Excluir categorías (id's)"
90
+
91
+ #: include/lcp_widget_form.php:102
92
+ msgid "Exclude posts (id's)"
93
+ msgstr "Excluir posts (id's)"
94
+
95
+ #: include/lcp_widget_form.php:109
96
+ msgid "Show"
97
+ msgstr "Mostrar"
98
+
99
+ #: include/lcp_widget_form.php:112
100
+ msgid "Thumbnail - size"
101
+ msgstr "Vista previa - tamaño"
102
+
103
+ #: include/lcp_widget_form.php:131
104
+ msgid "Link to category"
105
+ msgstr "Enlace a la categoría"
106
+
107
+ #: include/lcp_widget_form.php:135
108
+ msgid "Excerpt"
109
+ msgstr "Extracto"
110
+
111
+ #: include/lcp_widget_form.php:138
112
+ msgid "More link"
113
+ msgstr "Enlace a más"
114
+
115
+ #: list_cat_posts.php:102
116
+ msgid "How to use"
117
+ msgstr "Cómo usarlo"
118
+
119
+ #: list_cat_posts.php:103
120
+ msgid "Donate"
121
+ msgstr "Donar"
122
+
123
+ #: list_cat_posts.php:104
124
+ msgid "Fork on Github"
125
+ msgstr "Forkear en Github"
languages/list-category-posts.pot ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012
2
+ # This file is distributed under the same license as the package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: \n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp\n"
7
+ "POT-Creation-Date: 2012-12-19 13:23:13+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: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+
15
+ #: include/ListCategoryPostsWidget.php:5
16
+ msgid "List Category Posts allows you to list posts from a category into a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, and the number of posts to display. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2]."
17
+ msgstr ""
18
+
19
+ #: include/ListCategoryPostsWidget.php:11
20
+ msgid "List posts from a specified category"
21
+ msgstr ""
22
+
23
+ #: include/ListCategoryPostsWidget.php:12
24
+ msgid "List Category Posts"
25
+ msgstr ""
26
+
27
+ #: include/lcp_widget_form.php:40
28
+ msgid "Title"
29
+ msgstr ""
30
+
31
+ #: include/lcp_widget_form.php:47
32
+ msgid "Category"
33
+ msgstr ""
34
+
35
+ #: include/lcp_widget_form.php:65
36
+ msgid "Number of posts"
37
+ msgstr ""
38
+
39
+ #: include/lcp_widget_form.php:72
40
+ msgid "Offset"
41
+ msgstr ""
42
+
43
+ #: include/lcp_widget_form.php:78
44
+ msgid "Order by"
45
+ msgstr ""
46
+
47
+ #: include/lcp_widget_form.php:81 include/lcp_widget_form.php:123
48
+ msgid "Date"
49
+ msgstr ""
50
+
51
+ #: include/lcp_widget_form.php:82
52
+ msgid "Post title"
53
+ msgstr ""
54
+
55
+ #: include/lcp_widget_form.php:83 include/lcp_widget_form.php:127
56
+ msgid "Author"
57
+ msgstr ""
58
+
59
+ #: include/lcp_widget_form.php:84
60
+ msgid "Random"
61
+ msgstr ""
62
+
63
+ #: include/lcp_widget_form.php:88
64
+ msgid "Order"
65
+ msgstr ""
66
+
67
+ #: include/lcp_widget_form.php:91
68
+ msgid "Descending"
69
+ msgstr ""
70
+
71
+ #: include/lcp_widget_form.php:92
72
+ msgid "Ascending"
73
+ msgstr ""
74
+
75
+ #: include/lcp_widget_form.php:96
76
+ msgid "Exclude categories (id's)"
77
+ msgstr ""
78
+
79
+ #: include/lcp_widget_form.php:102
80
+ msgid "Exclude posts (id's)"
81
+ msgstr ""
82
+
83
+ #: include/lcp_widget_form.php:109
84
+ msgid "Show"
85
+ msgstr ""
86
+
87
+ #: include/lcp_widget_form.php:112
88
+ msgid "Thumbnail - size"
89
+ msgstr ""
90
+
91
+ #: include/lcp_widget_form.php:131
92
+ msgid "Link to category"
93
+ msgstr ""
94
+
95
+ #: include/lcp_widget_form.php:135
96
+ msgid "Excerpt"
97
+ msgstr ""
98
+
99
+ #: include/lcp_widget_form.php:138
100
+ msgid "More link"
101
+ msgstr ""
102
+
103
+ #: list_cat_posts.php:102
104
+ msgid "How to use"
105
+ msgstr ""
106
+
107
+ #: list_cat_posts.php:103
108
+ msgid "Donate"
109
+ msgstr ""
110
+
111
+ #: list_cat_posts.php:104
112
+ msgid "Fork on Github"
113
+ msgstr ""
list_cat_posts.php CHANGED
@@ -3,12 +3,15 @@
3
  Plugin Name: List category posts
4
  Plugin URI: https://github.com/picandocodigo/List-Category-Posts
5
  Description: List Category Posts allows you to list posts from a category into a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, and the number of posts to display. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
6
- Version: 0.25
7
  Author: Fernando Briano
8
  Author URI: http://picandocodigo.net/
 
 
 
9
  */
10
 
11
- /* Copyright 2008-2011 Fernando Briano (email : fernando@picandocodigo.net)
12
 
13
  This program is free software; you can redistribute it and/or modify
14
  it under the terms of the GNU General Public License as published by
@@ -25,6 +28,8 @@
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  */
27
 
 
 
28
  include 'include/ListCategoryPostsWidget.php';
29
  require_once 'include/CatListDisplayer.php';
30
 
@@ -50,7 +55,7 @@ class ListCategoryPosts{
50
  'author_class' => '',
51
  'template' => 'default',
52
  'excerpt' => 'no',
53
- 'excerpt_size' => '255',
54
  'excerpt_tag' =>'',
55
  'excerpt_class' =>'',
56
  'exclude' => '0',
@@ -82,7 +87,10 @@ class ListCategoryPosts{
82
  'taxonomy' => '',
83
  'categorypage' => '',
84
  'morelink' => '',
85
- 'morelink_class' => ''
 
 
 
86
  ), $atts);
87
 
88
  $catlist_displayer = new CatListDisplayer($atts);
@@ -99,9 +107,9 @@ function lpc_meta($links, $file) {
99
  if ($file == $plugin):
100
  return array_merge(
101
  $links,
102
- array( sprintf('<a href="http://wordpress.org/extend/plugins/list-category-posts/other_notes/">%s</a>', __('How to use')) ),
103
- array( sprintf('<a href="http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/#support">%s</a>', __('Donate')) ),
104
- array( sprintf('<a href="https://github.com/picandocodigo/List-Category-Posts">%s</a>', __('Fork on Github')) )
105
  );
106
  endif;
107
 
@@ -117,7 +125,6 @@ Add Older Posts at bottom of List Category Post page
117
  Getting the “more” tag to work with plugin-list-category-post
118
  http://wordpress.stackexchange.com/questions/30376/getting-the-more-tag-to-work-with-plugin-list-category-post
119
  - Fix the code for the WordPress Coding Standards: http://codex.wordpress.org/WordPress_Coding_Standards
120
- - i18n
121
  - Pagination
122
  - Simpler template system
123
  - Exclude child categories
3
  Plugin Name: List category posts
4
  Plugin URI: https://github.com/picandocodigo/List-Category-Posts
5
  Description: List Category Posts allows you to list posts from a category into a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, and the number of posts to display. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
6
+ Version: 0.27
7
  Author: Fernando Briano
8
  Author URI: http://picandocodigo.net/
9
+
10
+ Text Domain: list-category-posts
11
+ Domain Path: /languages/
12
  */
13
 
14
+ /* Copyright 2008-2012 Fernando Briano (email : fernando@picandocodigo.net)
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
28
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
  */
30
 
31
+ load_plugin_textdomain( 'list-category-posts', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
32
+
33
  include 'include/ListCategoryPostsWidget.php';
34
  require_once 'include/CatListDisplayer.php';
35
 
55
  'author_class' => '',
56
  'template' => 'default',
57
  'excerpt' => 'no',
58
+ 'excerpt_size' => '55',
59
  'excerpt_tag' =>'',
60
  'excerpt_class' =>'',
61
  'exclude' => '0',
87
  'taxonomy' => '',
88
  'categorypage' => '',
89
  'morelink' => '',
90
+ 'morelink_class' => '',
91
+ 'year' => '',
92
+ 'monthnum' => '',
93
+ 'search' => ''
94
  ), $atts);
95
 
96
  $catlist_displayer = new CatListDisplayer($atts);
107
  if ($file == $plugin):
108
  return array_merge(
109
  $links,
110
+ array( sprintf('<a href="http://wordpress.org/extend/plugins/list-category-posts/other_notes/">%s</a>', __('How to use','list-category-posts')) ),
111
+ array( sprintf('<a href="http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/#support">%s</a>', __('Donate','list-category-posts')) ),
112
+ array( sprintf('<a href="https://github.com/picandocodigo/List-Category-Posts">%s</a>', __('Fork on Github','list-category-posts')) )
113
  );
114
  endif;
115
 
125
  Getting the “more” tag to work with plugin-list-category-post
126
  http://wordpress.stackexchange.com/questions/30376/getting-the-more-tag-to-work-with-plugin-list-category-post
127
  - Fix the code for the WordPress Coding Standards: http://codex.wordpress.org/WordPress_Coding_Standards
 
128
  - Pagination
129
  - Simpler template system
130
  - Exclude child categories
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate Link: http://picandocodigo.net/programacion/wordpress/list-category-posts
4
  Tags: list, categories, posts, cms
5
  Requires at least: 2.8
6
  Tested up to: 3.5
7
- Stable tag: 0.25
8
 
9
  == Description ==
10
  List Category Posts allows you to list posts from a category into a post/page using the [catlist] shortcode.
@@ -25,6 +25,8 @@ Please, read the information on [Other Notes](http://wordpress.org/extend/plugin
25
 
26
  `[catlist argument1=value1 argument2=value2]`
27
 
 
 
28
  **Support the plugin**
29
 
30
  If you've found the plugin useful, consider making a [donation via PayPal](http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/ "Donate via PayPal") or visit my Amazon Wishlist for [books](http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/ref=wl_web "Amazon Wishlist") or [comic books](http://www.amazon.com/registry/wishlist/1LVYAOJAZQOI0/ref=cm_wl_rlist_go_o) :).
@@ -43,10 +45,10 @@ I've moved the development to [GitHub](https://github.com/picandocodigo/List-Cat
43
 
44
  ==Other notes==
45
 
46
- = INSTRUCTIONS: How to use the plugin =
47
 
48
- **Selecting the category**
49
 
 
50
  The plugin can figure out the category from which you want to list posts in three different ways: Using the *category id*, the *category name or slug* and *detecting the current post's category*.
51
  When using List Category Posts inside a post, if you don't pass the category id, name or slug, it will post the latest posts from every category.
52
  You can use the *categorypage* parameter to make it detect the category id of the current posts, and list posts from that category.
@@ -85,15 +87,19 @@ You can use the *categorypage* parameter to make it detect the category id of th
85
 
86
  * **numberposts** - Number of posts to return. Set to 0 to use the max number of posts per page. Set to -1 to remove the limit. Default: 5. Ex: [catlist name=mycategory numberposts=10]
87
 
 
 
 
 
88
  * **date** - Display post's date next to the title. Default is 'no', use date=yes to activate it.
89
 
90
  * **author** - Display the post's author next to the title. Default is 'no', use author=yes to activate it.
91
 
92
  * **dateformat** - Format of the date output. Default is get_option('date_format'). Check http://codex.wordpress.org/Formatting_Date_and_Time for possible formats.
93
 
94
- * **excerpt** - Display the post's excerpt. Default is 'no', use excerpt=yes to activate it.
95
 
96
- * **excerpt_size** - Set the number of characters to display from the excerpt. Default is 255. Eg: `excerpt_size = 300`
97
 
98
  * **excludeposts** - IDs of posts to exclude from the list. Use 'this' to exclude the current post. Ex: [catlist excludeposts=this,12,52,37]
99
 
@@ -114,15 +120,15 @@ You can use the *categorypage* parameter to make it detect the category id of th
114
  * **post_type** - The type of post to show. Available options are: post - Default, page, attachment, any - all post types.
115
 
116
  * **post_status** - use post status, default value is 'publish'. Valid values:
117
- * 'publish' - a published post or page.
118
- * 'pending' - post is pending review.
119
- * 'draft' - a post in draft status.
120
- * 'auto-draft' - a newly created post, with no content.
121
- * 'future' - a post to publish in the future.
122
- * 'private' - not visible to users who are not logged in.
123
- * 'inherit' - a revision. see get_children.
124
- * 'trash' - post is in trashbin (available with Version 2.9).
125
- * 'any' - retrieves any status except those from post types with 'exclude_from_search' set to true.
126
 
127
 
128
  * **post_parent** - Show only the children of the post with this ID. Default: None.
@@ -184,6 +190,9 @@ http://wordpress.stackexchange.com/questions/9338/list-category-posts-plugin-upg
184
 
185
  == Upgrade Notice ==
186
 
 
 
 
187
  = 0.18 =
188
  Template system was upgraded with new options. Backwards compatible, but you can better customize the way the post contents are displayed. Check templates/default.php.
189
 
@@ -204,6 +213,20 @@ Template system has changed. Custom templates should be stored in WordPress them
204
 
205
  == Changelog ==
206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  = 0.25 =
208
 
209
  * Better excerpt
4
  Tags: list, categories, posts, cms
5
  Requires at least: 2.8
6
  Tested up to: 3.5
7
+ Stable tag: 0.27
8
 
9
  == Description ==
10
  List Category Posts allows you to list posts from a category into a post/page using the [catlist] shortcode.
25
 
26
  `[catlist argument1=value1 argument2=value2]`
27
 
28
+ Please read [the instructions](http://wordpress.org/extend/plugins/list-category-posts/other_notes/) on how to use it.
29
+
30
  **Support the plugin**
31
 
32
  If you've found the plugin useful, consider making a [donation via PayPal](http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/ "Donate via PayPal") or visit my Amazon Wishlist for [books](http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/ref=wl_web "Amazon Wishlist") or [comic books](http://www.amazon.com/registry/wishlist/1LVYAOJAZQOI0/ref=cm_wl_rlist_go_o) :).
45
 
46
  ==Other notes==
47
 
48
+ ==INSTRUCTIONS How to use the plugin==
49
 
 
50
 
51
+ **Selecting the category**
52
  The plugin can figure out the category from which you want to list posts in three different ways: Using the *category id*, the *category name or slug* and *detecting the current post's category*.
53
  When using List Category Posts inside a post, if you don't pass the category id, name or slug, it will post the latest posts from every category.
54
  You can use the *categorypage* parameter to make it detect the category id of the current posts, and list posts from that category.
87
 
88
  * **numberposts** - Number of posts to return. Set to 0 to use the max number of posts per page. Set to -1 to remove the limit. Default: 5. Ex: [catlist name=mycategory numberposts=10]
89
 
90
+ * **monthnum** and **year** - List posts from a certain year or month. You can use these together or independently. Example: `[catlist year=2015]` will list posts from the year 2015. `[catlist monthnum=8]` will list posts published in August of every year. `[catlist year=2012 month=12]` will list posts from December 2012.
91
+
92
+ * **search** - List posts that match a search term. `[catlist search="The Cake is a lie"]`
93
+
94
  * **date** - Display post's date next to the title. Default is 'no', use date=yes to activate it.
95
 
96
  * **author** - Display the post's author next to the title. Default is 'no', use author=yes to activate it.
97
 
98
  * **dateformat** - Format of the date output. Default is get_option('date_format'). Check http://codex.wordpress.org/Formatting_Date_and_Time for possible formats.
99
 
100
+ * **excerpt** - Display the post's excerpt. Default is 'no', use excerpt=yes to activate it. If you don't have an excerpt in your post, the plugin will fetch this text from the content, striping its html tags and shortcodes. The limit is set by the *excerpt_size* parameter (55 words by default).
101
 
102
+ * **excerpt_size** - Set the number of *words* to display from the excerpt. Default is 55. Eg: `excerpt_size = 30`
103
 
104
  * **excludeposts** - IDs of posts to exclude from the list. Use 'this' to exclude the current post. Ex: [catlist excludeposts=this,12,52,37]
105
 
120
  * **post_type** - The type of post to show. Available options are: post - Default, page, attachment, any - all post types.
121
 
122
  * **post_status** - use post status, default value is 'publish'. Valid values:
123
+ * **publish** - a published post or page.
124
+ * **pending** - post is pending review.
125
+ * **draft** - a post in draft status.
126
+ * **auto-draft** - a newly created post, with no content.
127
+ * **future** - a post to publish in the future.
128
+ * **private** - not visible to users who are not logged in.
129
+ * **inherit** - a revision. see get_children.
130
+ * **trash** - post is in trashbin (available with Version 2.9).
131
+ * **any** - retrieves any status except those from post types with 'exclude_from_search' set to true.
132
 
133
 
134
  * **post_parent** - Show only the children of the post with this ID. Default: None.
190
 
191
  == Upgrade Notice ==
192
 
193
+ = 0.25 =
194
+ * Translation support.
195
+
196
  = 0.18 =
197
  Template system was upgraded with new options. Backwards compatible, but you can better customize the way the post contents are displayed. Check templates/default.php.
198
 
213
 
214
  == Changelog ==
215
 
216
+ = 0.27 =
217
+
218
+ * Fixes to widget.
219
+ * Adds year and month parameters to list posts from a certain year and/or month.
220
+ * Adds search parameter to display posts that match a search term.
221
+
222
+ = 0.26 =
223
+
224
+ * Adds i18n, German and Spanish translations. All credit to [cfoellmann](https://github.com/cfoellmann) for implementing this and writing the German translation. Thanks! :)
225
+
226
+ = 0.25.1 =
227
+
228
+ * Changed excerpt limit, it uses word count, and is working for WordPress' excerpt and auto generated ones.
229
+
230
  = 0.25 =
231
 
232
  * Better excerpt