List category posts - Version 0.8.1

Version Description

  • Fixed bug for 'content'.
  • There's new stuff on the widget options. I'm still working on it, so some bugs may appear.
Download this release

Release Info

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

Code changes from version 0.7.2 to 0.8.1

Files changed (4) hide show
  1. lcp_widget_form.php +119 -52
  2. list_cat_posts.php +6 -5
  3. list_cat_posts_widget.php +86 -24
  4. readme.txt +21 -6
lcp_widget_form.php CHANGED
@@ -1,59 +1,126 @@
1
  <?php
2
- $options = get_option("lcp_widget_options");
3
- if (!is_array( $options)){
4
- $options = array(
5
- 'lcp_widget_title' => 'Write a title',
6
- 'lcp_widget_categoryid' => '1',
7
- 'lcp_widget_limit' => '5',
8
- 'lcp_widget_orderby' => 'date',
9
- 'lcp_widget_order' => 'asc'
10
- );
11
- }
12
- ?>
13
- <p>Title:<br/>
14
- <input type='text' name='lcp_widget_title'></p>
15
- <p>Category:<br/>
16
- <select name="lcp_widget_categoryid">
17
- <?php
18
- $categories= get_categories();
19
- foreach ($categories as $cat) {
20
- $option = '<option value="'.$cat->cat_ID.'">';
21
- $option .= $cat->cat_name;
22
- $option .= '</option>';
23
- echo $option;
24
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  </select></p>
27
 
28
- <p>Number of posts:<br/>
29
- <input type='text' name='lcp_widget_limit'></p>
30
- <p>Order By:<br/>
31
- <select name='lcp_widget_orderby'>
32
- <option value='date'>Date</option>
33
- <option value='title'>Post title</option>
34
- <option value='author'>Author</option>
35
- <option value='rand'>Random</option>
 
 
 
 
 
 
 
 
 
 
 
36
  </select></p>
37
- <p>Order:<br/>
38
- <select name='lcp_widget_order'>
39
- <option value='desc'>Descending</option>
40
- <option value='asc'>Ascending</option>
 
 
41
  </select></p>
42
 
43
- <?php
44
- if ($_POST['lcp_widget_submit']){
45
-
46
- $options['lcp_widget_title']=htmlspecialchars($_POST['lcp_widget_title']);
47
- $options['lcp_widget_categoryid']=htmlspecialchars($_POST['lcp_widget_categoryid']);
48
- $options['lcp_widget_limit']=htmlspecialchars($_POST['lcp_widget_limit']);
49
- $options['lcp_widget_orderby']=htmlspecialchars($_POST['lcp_widget_orderby']);
50
- $options['lcp_widget_order']=htmlspecialchars($_POST['lcp_widget_order']);
51
-
52
- update_option("lcp_widget_title", $options['lcp_widget_title']);
53
- update_option("lcp_widget_categoryid", $options['lcp_widget_categoryid']);
54
- update_option("lcp_widget_limit", $options['lcp_widget_limit']);
55
- update_option("lcp_widget_orderby", $options['lcp_widget_orderby']);
56
- update_option("lcp_widget_order", $options['lcp_widget_order']);
57
- }
58
- ?>
59
- <input type="hidden" id="lcp_widget_submit" name="lcp_widget_submit" value="1" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
+ /* Copyright 2008-2010 Fernando Briano (email : fernando@picandocodigo.net)
3
+
4
+ This program is free software; you can redistribute it and/or modify
5
+ it under the terms of the GNU General Public License as published by
6
+ the Free Software Foundation; either version 3 of the License, or
7
+ any later version.
8
+
9
+ This program is distributed in the hope that it will be useful,
10
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ GNU General Public License for more details.
13
+
14
+ You should have received a copy of the GNU General Public License
15
+ along with this program; if not, write to the Free Software
16
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
+ */
18
+
19
+ $instance = wp_parse_args( (array) $instance, array( 'title' => '',
20
+ 'categoryid' => '',
21
+ 'limit' => '',
22
+ 'orderby'=>'',
23
+ 'order'=>'',
24
+ 'date'=>'',
25
+ 'author'=>'',
26
+ 'excerpt'=>'',
27
+ 'exclude'=>'',
28
+ 'excludeposts'=>'',
29
+ 'offset'=>'',
30
+ 'catlink'=>'' ) );
31
+ $title = strip_tags($instance['title']);
32
+ $limit = strip_tags($instance['limit']);
33
+ $orderby = strip_tags($instance['orderby']);
34
+ $order = strip_tags($instance['order']);
35
+ $date = strip_tags($instance['date']);
36
+ $author = strip_tags($instance['author']);
37
+ $exclude = strip_tags($instance['exclude']);
38
+ $excludeposts = strip_tags($instance['excludeposts']);
39
+ $offset = strip_tags($instance['offset']);
40
+ $catlink = strip_tags($instance['catlink']);
41
+ $categoryid = strip_tags($instance['categoryid']);
42
+
43
  ?>
44
+ <?php var_dump($instance);?>
45
+ <p><label for="<?php echo $this->get_field_id('title'); ?>">Title: <br/>
46
+ <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>"
47
+ name="<?php echo $this->get_field_name('title'); ?>" type="text"
48
+ value="<?php echo attribute_escape($title); ?>" />
49
+ </label></p>
50
+
51
+ <p><label for="<?php echo $this->get_field_id('categoryid'); ?>">Category: <br/>
52
+ <select id="<?php echo $this->get_field_id('categoryid'); ?>" name="<?php echo $this->get_field_name('categoryid'); ?>">
53
+ <?php
54
+ $categories= get_categories();
55
+ foreach ($categories as $cat) :
56
+ $option = '<option value="' . $cat->cat_ID;
57
+ if ($cat->cat_ID == attribute_escape($categoryid)) :
58
+ $option .= ' selected = "selected" ';
59
+ endif;
60
+ $option .= '">';
61
+ $option .= $cat->cat_name;
62
+ $option .= '</option>';
63
+ echo $option;
64
+ endforeach;
65
+ ?>
66
  </select></p>
67
 
68
+ <p><label for="<?php echo $this->get_field_id('limit'); ?>">Number of posts: <br/>
69
+ <input size="2" id="<?php echo $this->get_field_id('limit'); ?>"
70
+ name="<?php echo $this->get_field_name('limit'); ?>" type="text"
71
+ value="<?php echo attribute_escape($limit); ?>" />
72
+ </label></p>
73
+
74
+ <p><label for="<?php echo $this->get_field_id('offset'); ?>">Offset: <br/>
75
+ <input size="2" id="<?php echo $this->get_field_id('offset'); ?>"
76
+ name="<?php echo $this->get_field_name('offset'); ?>" type="text"
77
+ value="<?php echo attribute_escape($offset); ?>" />
78
+ </label></p>
79
+
80
+ <p><label for="<?php echo $this->get_field_id('order'); ?>">Order: <br/>
81
+ <select id="<?php echo $this->get_field_id('orderby'); ?>"
82
+ name="<?php echo $this->get_field_name('orderby'); ?>" type="text" />
83
+ <option value='date'>Date</option>
84
+ <option value='title'>Post title</option>
85
+ <option value='author'>Author</option>
86
+ <option value='rand'>Random</option>
87
  </select></p>
88
+
89
+ <p><label for="<?php echo $this->get_field_id('order'); ?>">Order: <br/>
90
+ <select id="<?php echo $this->get_field_id('order'); ?>"
91
+ name="<?php echo $this->get_field_name('order'); ?>" type="text" />
92
+ <option value='desc'>Descending</option>
93
+ <option value='asc'>Ascending</option>
94
  </select></p>
95
 
96
+ <p><label for="<?php echo $this->get_field_id('exclude'); ?>">Exclude categories (id's): <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 attribute_escape($exclude); ?>" />
100
+ </label></p>
101
+
102
+ <p><label for="<?php echo $this->get_field_id('excludeposts'); ?>">Exclude posts (id's): <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 attribute_escape($excludeposts); ?>" />
106
+ </label></p>
107
+
108
+ <p>
109
+ <label>Show: </label><br/>
110
+ <input type="radio"
111
+ <?php if ($date == 'on' ) : echo ' checked = "checked" '; endif; ?>
112
+ name="<?php echo $this->get_field_name('date'); ?>"
113
+ value="<?php echo attribute_escape($date); ?>">Date<br>
114
+ <input type="radio"
115
+ <?php if ($author == 'on' ) : echo ' checked = "checked" '; endif; ?>
116
+ name="<?php echo $this->get_field_name('author'); ?>"
117
+ value="<?php echo attribute_escape($author); ?>">Author<br>
118
+ <input type="radio"
119
+ <?php if ($catlink == 'on' ) : echo ' checked = "checked" '; endif; ?>
120
+ name="<?php echo $this->get_field_name('catlink'); ?>"
121
+ value="<?php echo attribute_escape($catlink); ?>">Link to category<br>
122
+ <input type="radio"
123
+ <?php if ($excerpt == 'on' ) : echo ' checked = "checked" '; endif; ?>
124
+ name="<?php echo $this->get_field_name('excerpt'); ?>"
125
+ value="<?php echo attribute_escape($excerpt); ?>">Excerpt<br>
126
+ </p>
list_cat_posts.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: List category posts
4
  Plugin URI: http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/
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.7.2
7
  Author: Fernando Briano
8
- Author URI: http://picandocodigo.net/wordpress/
9
  */
10
 
11
- /* Copyright 2008 Fernando Briano (email : transformers.es@gmail.com)
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
@@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28
  //Sidebar Widget:
29
  include('list_cat_posts_widget.php');
30
  //Filters and actions:
31
- add_action('plugins_loaded', 'lcp_load_widget');
32
 
33
  //Shortcode [catlist parameter="value"]
34
  function catlist_func($atts, $content=null) {
@@ -46,6 +46,7 @@ function catlist_func($atts, $content=null) {
46
  'exclude' => '0',
47
  'excludeposts' => '0',
48
  'offset' => '0',
 
49
  'catlink' => 'no'
50
  ), $atts);
51
  return list_category_posts($atts);
@@ -67,7 +68,7 @@ function list_category_posts($atts){
67
  $cat_link = get_category_link($category_id);
68
  $cat_data = get_category($atts['id']);
69
  $cat_title = $cat_data->name;
70
- $cat_link_string = '<a href=' . $cat_link . ' title="' . $cat_title . '">' . $cat_title . '<a/>';
71
  }
72
  //Build the query for get_posts()
73
  $catposts = get_posts($category.'&numberposts=' . $atts['numberposts'] .
3
  Plugin Name: List category posts
4
  Plugin URI: http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/
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.8.1
7
  Author: Fernando Briano
8
+ Author URI: http://fernandobriano.com/
9
  */
10
 
11
+ /* Copyright 2008-2010 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
28
  //Sidebar Widget:
29
  include('list_cat_posts_widget.php');
30
  //Filters and actions:
31
+ //add_action('plugins_loaded', 'lcp_load_widget');
32
 
33
  //Shortcode [catlist parameter="value"]
34
  function catlist_func($atts, $content=null) {
46
  'exclude' => '0',
47
  'excludeposts' => '0',
48
  'offset' => '0',
49
+ 'content' => 'no',
50
  'catlink' => 'no'
51
  ), $atts);
52
  return list_category_posts($atts);
68
  $cat_link = get_category_link($category_id);
69
  $cat_data = get_category($atts['id']);
70
  $cat_title = $cat_data->name;
71
+ $cat_link_string = '<a href=' . $cat_link . ' title="' . $cat_title . '">' . $cat_title . '</a>';
72
  }
73
  //Build the query for get_posts()
74
  $catposts = get_posts($category.'&numberposts=' . $atts['numberposts'] .
list_cat_posts_widget.php CHANGED
@@ -1,31 +1,93 @@
1
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  //Sidebar Widget file
3
 
4
- function lcp_load_widget() {
5
- if (function_exists('register_sidebar_widget')) {
6
- register_sidebar_widget('List category posts', 'lcp_widget');
7
- register_widget_control('List category posts', 'lcp_widget_options', 300, 200 );
8
- }
9
- }
10
 
11
- function lcp_widget(){//Display
12
- $lcp_title = get_option("lcp_widget_title");
13
- $lcp_id = get_option("lcp_widget_categoryid");
14
- $lcp_limit = get_option("lcp_widget_limit");
15
- $lcp_orderby=get_option("lcp_widget_orderby");
16
- $lcp_order=get_option("lcp_widget_order");
17
- $lcp_result = '<h2>'.$lcp_title.'</h2><ul class="lcp_catlist">';
18
- $lcp_catposts = get_posts('category='.$lcp_id.'&numberposts='.$lcp_limit.'&orderby='.$lcp_orderby.'&order='.$lcp_order);
19
-
20
- foreach($lcp_catposts as $lcp_single):
21
- $lcp_result.='<li><a href="'.get_permalink($lcp_single->ID).'">'.$lcp_single->post_title.'</a></li>';
22
- endforeach;
23
- $lcp_result .= "</ul>";
24
- echo $lcp_result;
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
- function lcp_widget_options(){
28
- include('lcp_widget_form.php');
29
- }
 
 
 
 
 
 
 
 
30
 
31
  ?>
1
  <?php
2
+ /* Copyright 2008-2010 Fernando Briano (email : fernando@picandocodigo.net)
3
+
4
+ This program is free software; you can redistribute it and/or modify
5
+ it under the terms of the GNU General Public License as published by
6
+ the Free Software Foundation; either version 3 of the License, or
7
+ any later version.
8
+
9
+ This program is distributed in the hope that it will be useful,
10
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ GNU General Public License for more details.
13
+
14
+ You should have received a copy of the GNU General Public License
15
+ along with this program; if not, write to the Free Software
16
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
+ */
18
  //Sidebar Widget file
19
 
20
+ class ListCategoryPostsWidget extends WP_Widget{
 
 
 
 
 
21
 
22
+ function ListCategoryPostsWidget() {
23
+ parent::WP_Widget(false, $name = 'ListCategoryPostsWidget');
24
+ }
25
+
26
+ function widget($args, $instance) {
27
+ extract( $args );
28
+ $title = apply_filters('widget_title', $instance['title']);
29
+ $limit = (is_numeric($instance['limit'])) ? $instance['limit'] : 5;
30
+ $orderby = ($instance['orderby']) ? $instance['orderby'] : 'date';
31
+ $order = ($instance['order']) ? $instance['order'] : 'desc';
32
+ $exclude = ($instance['exclude'] != '') ? $instance['exclude'] : 0;
33
+ $excludeposts = ($instance['excludeposts'] != '') ? $instance['excludeposts'] : 0;
34
+ $offset = (is_numeric($instance['offset'])) ? $instance['offset'] : 0;
35
+ $category_id = $instance['categoryid'];
36
+ $dateformat = ($instance['dateformat']) ? $instance['dateformat'] : get_option('date_format');
37
+
38
+ echo $before_widget;
39
+
40
+ //Link to the category:
41
+ $cat_link_string = '';
42
+ if ($instance['catlink'] == 'on'){
43
+ $cat_link = get_category_link($category_id);
44
+ $cat_data = get_category($category_id);
45
+ $cat_title = $cat_data->name;
46
+ $cat_link_string = '<a href=' . $cat_link . ' title="' . $cat_title . '">' . $cat_title . '</a>';
47
+ }
48
+ $lcp_result = $cat_link_string;
49
+
50
+ //Build the query for get_posts()
51
+ $lcp_catposts = get_posts('category=' . $category_id .
52
+ '&numberposts=' . $limit .
53
+ '&orderby=' . $atts['orderby'] .
54
+ '&order=' . $atts['order'] .
55
+ '&exclude=' . $atts['excludeposts'] .
56
+ '&offset=' . $atts['offset'] );
57
+
58
+ $lcp_result .= '<ul class="lcp_catlist">';
59
+
60
+ foreach($lcp_catposts as $lcp_single):
61
+ $lcp_result .= '<li><a href="' . get_permalink($lcp_single->ID).'">' . $lcp_single->post_title . '</a>';
62
+ if($instance['date'] == 'on') :
63
+ $lcp_result .= ' - ' . get_the_time($atts['dateformat'], $lcp_single);//by Verex, great idea!
64
+ endif;
65
+ if($instance['author'] =='on') :
66
+ $lcp_userdata = get_userdata($lcp_single->post_author);
67
+ $lcp_result .= " - ".$lcp_userdata->user_nicename . '<br/>';
68
+ endif;
69
+ if($instance['excerpt'] == 'on' && $lcp_single->post_excerpt && !($instance['content'] == 'no' && $lcp_single->post_content) ) :
70
+ $lcp_result .= "<p>$lcp_single->post_excerpt</p>";
71
+ endif;
72
+ $lcp_result .= "</li>";
73
+ endforeach;
74
+
75
+ $lcp_result .= "</ul>";
76
+ echo '<h2>' . $title . '</h2>';
77
+ echo $lcp_result;
78
+ echo $after_widget;
79
+ }
80
 
81
+ /** @see WP_Widget::update */
82
+ function update($new_instance, $old_instance) {
83
+ return $new_instance;
84
+ }
85
+
86
+ /** @see WP_Widget::form */
87
+ function form($instance) {
88
+ include('lcp_widget_form.php');
89
+ }
90
+ }
91
+ add_action('widgets_init', create_function('', 'return register_widget("listCategoryPostsWidget");'));
92
 
93
  ?>
readme.txt CHANGED
@@ -2,22 +2,25 @@
2
  Contributors: fernandobt
3
  Donate Link: http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/
4
  Tags: list, categories, posts, cms
5
- Requires at least: 2.6
6
- Tested up to: 2.9
7
- Stable tag: 0.7.2
8
 
9
  == Description ==
10
  List Category Posts is a simple WordPress plugin which 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. Great to use WordPress as a CMS, and create pages with several categories posts.
 
 
 
11
  Usage: [catlist argument1=value1 argument2=value2].
12
 
 
 
13
  ==Installation==
14
 
15
  * Upload listcat directory into you wp-content/plugins/ directory.
16
  * Login to your WordPress Admin menu, go to Plugins, and activate it.
17
  * Edit the default.php file on templates to customize the way the categories are displayed, or use the default one included in the plugin's code. You can use several different templates if you want.
18
- * You can find the List Category Posts widget in your widgets. Hasn't been tested, still in development, but usable.
19
-
20
- **If you're updating List Category Posts from version 0.1**, you must change the code in the pages using it, since it's not backwards compatible. LCP now uses WordPress's shortcode API, in order to allow arguments. You should chang the previous [catlist=ID] to [catlist id=ID].
21
 
22
  ==Other notes==
23
 
@@ -85,9 +88,20 @@ Your comments and feedback are welcome at: http://picandocodigo.net/programacion
85
  = 0.7.2 =
86
  Template system has changed. Now the posts loop must be defined inside the template. Check templates/default.php for an example.
87
 
 
 
 
88
 
89
  == Changelog ==
90
 
 
 
 
 
 
 
 
 
91
  = 0.7.2 =
92
  * Fixed link to category.
93
  * Improved template system.
@@ -100,6 +114,7 @@ Template system has changed. Now the posts loop must be defined inside the templ
100
  * Offset parameter on shortcode to start listing posts with an offset. Contribution by Levi Vasquez
101
  * Content of the post can now be displayed. Contribution by Lang Zerner.
102
  * Link to the category available. By request on the plugin's forum.
 
103
 
104
  = 0.6 =
105
  * Minor fix for unclosed ul if not using templates.
2
  Contributors: fernandobt
3
  Donate Link: http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/
4
  Tags: list, categories, posts, cms
5
+ Requires at least: 2.8
6
+ Tested up to: 2.9.1
7
+ Stable tag: 0.8.1
8
 
9
  == Description ==
10
  List Category Posts is a simple WordPress plugin which 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. Great to use WordPress as a CMS, and create pages with several categories posts.
11
+
12
+ Since version 0.8, the sidebar widget has been migrated to WordPress 2.8 Widget API, so you can use as many widgets as you like. The widget has the same functionallity as the plugin, but you can customize its options on the Appearence > Widgets section.
13
+
14
  Usage: [catlist argument1=value1 argument2=value2].
15
 
16
+
17
+
18
  ==Installation==
19
 
20
  * Upload listcat directory into you wp-content/plugins/ directory.
21
  * Login to your WordPress Admin menu, go to Plugins, and activate it.
22
  * Edit the default.php file on templates to customize the way the categories are displayed, or use the default one included in the plugin's code. You can use several different templates if you want.
23
+ * You can find the ListCategoryPostsWidget in the Appearence > Widgets section on your WordPress Dashboard.
 
 
24
 
25
  ==Other notes==
26
 
88
  = 0.7.2 =
89
  Template system has changed. Now the posts loop must be defined inside the template. Check templates/default.php for an example.
90
 
91
+ = 0.8 =
92
+ Widget built for WordPress 2.8's Widget API, so you need at least WP 2.8 to use the widget.
93
+
94
 
95
  == Changelog ==
96
 
97
+ = 0.8.1 =
98
+ * Fixed bug for 'content'.
99
+ * There's new stuff on the widget options. I'm still working on it, so some bugs may appear.
100
+
101
+ = 0.8 =
102
+ * Widget implements WP 2.8 Widget API, so at least 2.8 is required. Now you can use as many widgets as necessary, with new params.
103
+ * Updated readme file.
104
+
105
  = 0.7.2 =
106
  * Fixed link to category.
107
  * Improved template system.
114
  * Offset parameter on shortcode to start listing posts with an offset. Contribution by Levi Vasquez
115
  * Content of the post can now be displayed. Contribution by Lang Zerner.
116
  * Link to the category available. By request on the plugin's forum.
117
+ * Fixed small bug when using category name.
118
 
119
  = 0.6 =
120
  * Minor fix for unclosed ul if not using templates.