List category posts - Version 0.10.1

Version Description

  • Small fix - added ul tags to default template.
  • Compatible WordPress 3.0 with Twenty Ten theme (thanks again Doug Joseph :) )
Download this release

Release Info

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

Code changes from version 0.10 to 0.10.1

Files changed (3) hide show
  1. list_cat_posts.php +1 -1
  2. readme.txt +7 -1
  3. templates/default.php +3 -1
list_cat_posts.php CHANGED
@@ -3,7 +3,7 @@
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.10
7
  Author: Fernando Briano
8
  Author URI: http://picandocodigo.net/
9
  */
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.10.1
7
  Author: Fernando Briano
8
  Author URI: http://picandocodigo.net/
9
  */
readme.txt CHANGED
@@ -4,13 +4,15 @@ 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: 2.9.2
7
- Stable tag: 0.10
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
 
@@ -97,6 +99,10 @@ Template system has changed. Custom templates should be stored in wordpress them
97
 
98
  == Changelog ==
99
 
 
 
 
 
100
  = 0.10 =
101
  * Code for the_content was fixed so that the content to output filtered content (thanks DougJoseph http://wordpress.org/support/topic/399754)
102
 
4
  Tags: list, categories, posts, cms
5
  Requires at least: 2.8
6
  Tested up to: 2.9.2
7
+ Stable tag: 0.10.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
+ Compatible with WordPress 3.0 and default Twenty Ten theme (http://wordpress.org/support/topic/399754)
15
+
16
  Usage: [catlist argument1=value1 argument2=value2].
17
 
18
 
99
 
100
  == Changelog ==
101
 
102
+ = 0.10.1 =
103
+ * Small fix - added ul tags to default template.
104
+ * Compatible WordPress 3.0 with Twenty Ten theme (thanks again Doug Joseph :) )
105
+
106
  = 0.10 =
107
  * Code for the_content was fixed so that the content to output filtered content (thanks DougJoseph http://wordpress.org/support/topic/399754)
108
 
templates/default.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: List Category Posts - Template
4
  Plugin URI: http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/
5
  Description: Template file for List Category Post Plugin for Wordpress which is used by plugin by argument template=value.php
6
- Version: 0.6
7
  Author: Radek Uldrych & Fernando Briano
8
  Author URI: http://picandocodigo.net http://radoviny.net
9
  */
@@ -31,6 +31,7 @@ if ($cat_link_string != ''){
31
  }else{
32
  $output = '';
33
  }
 
34
  //Posts loop:
35
  foreach($catposts as $single):
36
  $output .= '<li><a href="' . get_permalink($single->ID) . '">' . $single->post_title . '</a>';
@@ -55,4 +56,5 @@ foreach($catposts as $single):
55
  }
56
  $output.='</li>';
57
  endforeach;
 
58
  ?>
3
  Plugin Name: List Category Posts - Template
4
  Plugin URI: http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/
5
  Description: Template file for List Category Post Plugin for Wordpress which is used by plugin by argument template=value.php
6
+ Version: 0.6.1
7
  Author: Radek Uldrych & Fernando Briano
8
  Author URI: http://picandocodigo.net http://radoviny.net
9
  */
31
  }else{
32
  $output = '';
33
  }
34
+ $output .= '<ul class="lcp_catlist">';//For default ul
35
  //Posts loop:
36
  foreach($catposts as $single):
37
  $output .= '<li><a href="' . get_permalink($single->ID) . '">' . $single->post_title . '</a>';
56
  }
57
  $output.='</li>';
58
  endforeach;
59
+ $output.='</ul>';
60
  ?>