Version Description
- Fixed small bug which made the excerpt show up everytime... (Sorry :S)
Download this release
Release Info
Developer | fernandobt |
Plugin | List category posts |
Version | 0.11.1 |
Comparing to | |
See all releases |
Code changes from version 0.11 to 0.11.1
- list_cat_posts.php +2 -2
- readme.txt +4 -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.11
|
7 |
Author: Fernando Briano
|
8 |
Author URI: http://picandocodigo.net/
|
9 |
*/
|
@@ -110,7 +110,7 @@ function list_category_posts($atts){
|
|
110 |
if($atts['content']=='yes' && $single->post_content){
|
111 |
$lcp_output.= lcp_content($single); // line tweaked to output filtered content
|
112 |
}
|
113 |
-
if($atts['excerpt']!='
|
114 |
$lcp_output .= lcp_excerpt($single);
|
115 |
}
|
116 |
$lcp_output.="</li>";
|
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.11.1
|
7 |
Author: Fernando Briano
|
8 |
Author URI: http://picandocodigo.net/
|
9 |
*/
|
110 |
if($atts['content']=='yes' && $single->post_content){
|
111 |
$lcp_output.= lcp_content($single); // line tweaked to output filtered content
|
112 |
}
|
113 |
+
if($atts['excerpt']!='no' && !($atts['content']=='yes' && $single->post_content) ){
|
114 |
$lcp_output .= lcp_excerpt($single);
|
115 |
}
|
116 |
$lcp_output.="</li>";
|
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.0
|
7 |
-
Stable tag: 0.11
|
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.
|
@@ -99,6 +99,9 @@ Template system has changed. Custom templates should be stored in wordpress them
|
|
99 |
|
100 |
== Changelog ==
|
101 |
|
|
|
|
|
|
|
102 |
= 0.11 =
|
103 |
* Automatic excerpt added in case the user didn't specifically write an excerpt.
|
104 |
* Widget has been finally fixed. The attributes finally save themselves, and the widget works as expected :D
|
4 |
Tags: list, categories, posts, cms
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.0
|
7 |
+
Stable tag: 0.11.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.
|
99 |
|
100 |
== Changelog ==
|
101 |
|
102 |
+
= 0.11.1 =
|
103 |
+
* Fixed small bug which made the excerpt show up everytime... (Sorry :S)
|
104 |
+
|
105 |
= 0.11 =
|
106 |
* Automatic excerpt added in case the user didn't specifically write an excerpt.
|
107 |
* Widget has been finally fixed. The attributes finally save themselves, and the widget works as expected :D
|