List category posts - Version 0.23.1

Version Description

  • Added class and tag for "content".
Download this release

Release Info

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

Code changes from version 0.23 to 0.23.1

include/CatListDisplayer.php CHANGED
@@ -107,7 +107,7 @@ class CatListDisplayer {
107
 
108
  $lcp_display_output .= $this->get_thumbnail($single);
109
 
110
- $lcp_display_output .= $this->get_content($single, 'p');
111
 
112
  $lcp_display_output .= $this->get_excerpt($single, $this->params['excerpt_tag'], $this->params['excerpt_class']);;
113
 
107
 
108
  $lcp_display_output .= $this->get_thumbnail($single);
109
 
110
+ $lcp_display_output .= $this->get_content($single, $this->params['content_tag'], $this->params['content_class']);
111
 
112
  $lcp_display_output .= $this->get_excerpt($single, $this->params['excerpt_tag'], $this->params['excerpt_class']);;
113
 
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.23
7
  Author: Fernando Briano
8
  Author URI: http://picandocodigo.net/
9
  */
@@ -58,6 +58,8 @@ class ListCategoryPosts{
58
  'offset' => '0',
59
  'tags' => '',
60
  'content' => 'no',
 
 
61
  'catlink' => 'no',
62
  'catlink_tag' =>'',
63
  'catlink_class' => '',
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.23.1
7
  Author: Fernando Briano
8
  Author URI: http://picandocodigo.net/
9
  */
58
  'offset' => '0',
59
  'tags' => '',
60
  'content' => 'no',
61
+ 'content_tag' => '',
62
+ 'content_tag' => '',
63
  'catlink' => 'no',
64
  'catlink_tag' =>'',
65
  'catlink_class' => '',
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.3.1
7
- Stable tag: 0.23
8
 
9
  == Description ==
10
  List Category Posts allows you to list posts from a category into a post/page using the [catlist] shortcode.
@@ -129,8 +129,9 @@ You can use the *categorypage* parameter to make it detect the category id of th
129
  You can customize what HTML tags different elements will be sorrounded with and a CSS class for this element. The customizable elements are: author, catlink (category link), comments, date, excerpt, morelink ("Read More" link), thumbnail and title (post title).
130
 
131
  The parameters are:
132
- `autor_tag, author_class, catlink_tag, catlink_class, comments_tag, comments_class, date_tag, date_class,
133
- excerpt_tag, excerpt_class, morelink_class, thumbnail_class, title_tag, title_class`
 
134
 
135
  So for example, let's say you want to wrap the displayed comments count with the p tag and a "lcp_comments" class, you would do:
136
  `[catlist id=7 comments=yes comments_tag=p comments_class=lcp_comments]`
@@ -188,6 +189,10 @@ Template system has changed. Custom templates should be stored in WordPress them
188
 
189
  == Changelog ==
190
 
 
 
 
 
191
  = 0.23 =
192
 
193
  This update is dedicated to [Michelle K McGinnis](http://friendlywebconsulting.com/) who bought me "Diamond Age" by Neal Stephenson from my [Amazon Wishlist](http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/ref=wl_web). Thanks! :D
4
  Tags: list, categories, posts, cms
5
  Requires at least: 2.8
6
  Tested up to: 3.3.1
7
+ Stable tag: 0.23.1
8
 
9
  == Description ==
10
  List Category Posts allows you to list posts from a category into a post/page using the [catlist] shortcode.
129
  You can customize what HTML tags different elements will be sorrounded with and a CSS class for this element. The customizable elements are: author, catlink (category link), comments, date, excerpt, morelink ("Read More" link), thumbnail and title (post title).
130
 
131
  The parameters are:
132
+ `autor_tag, author_class, catlink_tag, catlink_class, comments_tag, comments_class,
133
+ content_tag, content_class, date_tag, date_class, excerpt_tag, excerpt_class,
134
+ morelink_class, thumbnail_class, title_tag, title_class`
135
 
136
  So for example, let's say you want to wrap the displayed comments count with the p tag and a "lcp_comments" class, you would do:
137
  `[catlist id=7 comments=yes comments_tag=p comments_class=lcp_comments]`
189
 
190
  == Changelog ==
191
 
192
+ = 0.23.1 =
193
+
194
+ * Added class and tag for "content".
195
+
196
  = 0.23 =
197
 
198
  This update is dedicated to [Michelle K McGinnis](http://friendlywebconsulting.com/) who bought me "Diamond Age" by Neal Stephenson from my [Amazon Wishlist](http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/ref=wl_web). Thanks! :D