Version Description
- Fixed broken dateformat.
Download this release
Release Info
Developer | fernandobt |
Plugin | List category posts |
Version | 0.13.1 |
Comparing to | |
See all releases |
Code changes from version 0.13 to 0.13.1
- list_cat_posts.php +4 -4
- 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.13
|
7 |
Author: Fernando Briano
|
8 |
Author URI: http://picandocodigo.net/
|
9 |
*/
|
@@ -140,7 +140,7 @@ function lcp_display_post($single, $atts){
|
|
140 |
$lcp_output .= ')';
|
141 |
}
|
142 |
if ($atts['date']=='yes'){
|
143 |
-
$lcp_output .= lcp_showdate($single);
|
144 |
}
|
145 |
if ($atts['author']=='yes'){
|
146 |
$lcp_output .= " - ".lcp_showauthor($single) . '<br/>';
|
@@ -167,8 +167,8 @@ function lcp_showauthor($single){
|
|
167 |
return $lcp_userdata->display_name;
|
168 |
}
|
169 |
|
170 |
-
function lcp_showdate($single){
|
171 |
-
return ' - ' . get_the_time($
|
172 |
}
|
173 |
|
174 |
function lcp_content($single){
|
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.13.1
|
7 |
Author: Fernando Briano
|
8 |
Author URI: http://picandocodigo.net/
|
9 |
*/
|
140 |
$lcp_output .= ')';
|
141 |
}
|
142 |
if ($atts['date']=='yes'){
|
143 |
+
$lcp_output .= lcp_showdate($single, $atts['dateformat']);
|
144 |
}
|
145 |
if ($atts['author']=='yes'){
|
146 |
$lcp_output .= " - ".lcp_showauthor($single) . '<br/>';
|
167 |
return $lcp_userdata->display_name;
|
168 |
}
|
169 |
|
170 |
+
function lcp_showdate($single, $dateformat){
|
171 |
+
return ' - ' . get_the_time($dateformat, $single);//by Verex, great idea!
|
172 |
}
|
173 |
|
174 |
function lcp_content($single){
|
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.1
|
7 |
-
Stable tag: 0.13
|
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.
|
@@ -107,6 +107,9 @@ Template system has changed. Custom templates should be stored in wordpress them
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
110 |
= 0.13 =
|
111 |
* Show post thumbnails, should be tested, feedback on styling is welcome. Thanks to Sebastian from http://www.avantix.com.ar/
|
112 |
|
4 |
Tags: list, categories, posts, cms
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.0.1
|
7 |
+
Stable tag: 0.13.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.
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= 0.13.1 =
|
111 |
+
* Fixed broken dateformat.
|
112 |
+
|
113 |
= 0.13 =
|
114 |
* Show post thumbnails, should be tested, feedback on styling is welcome. Thanks to Sebastian from http://www.avantix.com.ar/
|
115 |
|