Version Description
Download this release
Release Info
Developer | fernandobt |
Plugin | List category posts |
Version | 0.4.1 |
Comparing to | |
See all releases |
Code changes from version 0.4 to 0.4.1
- list_cat_posts.php +3 -2
- readme.txt +5 -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.4
|
7 |
Author: Fernando Briano
|
8 |
Author URI: http://picandocodigo.net/wordpress/
|
9 |
*/
|
@@ -59,7 +59,8 @@ foreach($catposts as $single):
|
|
59 |
$output.=" - ".$single->post_date;
|
60 |
}
|
61 |
if($atts['author']=='yes'){
|
62 |
-
$
|
|
|
63 |
}
|
64 |
$output.="</li>";
|
65 |
endforeach;
|
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.4.1
|
7 |
Author: Fernando Briano
|
8 |
Author URI: http://picandocodigo.net/wordpress/
|
9 |
*/
|
59 |
$output.=" - ".$single->post_date;
|
60 |
}
|
61 |
if($atts['author']=='yes'){
|
62 |
+
$lcp_userdata = get_userdata($single->post_author);
|
63 |
+
$output.=" - ".$lcp_userdata->user_nicename;
|
64 |
}
|
65 |
$output.="</li>";
|
66 |
endforeach;
|
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.5
|
6 |
Tested up to: 2.7
|
7 |
-
Stable tag: 0.4
|
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.
|
@@ -65,6 +65,10 @@ Now it's being written with GNU Emacs - http://www.gnu.org/software/emacs/
|
|
65 |
|
66 |
**Changelog**
|
67 |
|
|
|
|
|
|
|
|
|
68 |
**0.4**
|
69 |
|
70 |
* Added 'date' parameter. Now you can show the post's date when listed.
|
4 |
Tags: list, categories, posts, cms
|
5 |
Requires at least: 2.5
|
6 |
Tested up to: 2.7
|
7 |
+
Stable tag: 0.4.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.
|
65 |
|
66 |
**Changelog**
|
67 |
|
68 |
+
**0.4.1**
|
69 |
+
|
70 |
+
* Fixed some code to enable PHP 4 compatibility. Shouldn't hosting services update to PHP 5?
|
71 |
+
|
72 |
**0.4**
|
73 |
|
74 |
* Added 'date' parameter. Now you can show the post's date when listed.
|