Version Description
- Fix some errors
Download this release
Release Info
Developer | fernandobt |
Plugin | List category posts |
Version | 0.59.1 |
Comparing to | |
See all releases |
Code changes from version 0.59 to 0.59.1
- include/lcp-catlistdisplayer.php +3 -4
- list_cat_posts.php +1 -1
- readme.txt +5 -1
include/lcp-catlistdisplayer.php
CHANGED
@@ -223,16 +223,15 @@ class CatListDisplayer {
|
|
223 |
|
224 |
$class ='';
|
225 |
|
226 |
-
if ( is_object($post
|
227 |
$class = " class = current ";
|
228 |
}
|
229 |
|
230 |
$lcp_display_output = '<'. $tag . $class . '>';
|
231 |
|
232 |
-
|
233 |
-
if ( $this->params['no_post_titles'] != 'yes' ):
|
234 |
$lcp_display_output .= $this->get_post_title($single);
|
235 |
-
|
236 |
|
237 |
// Comments count
|
238 |
$lcp_display_output .= $this->get_stuff_with_tags_and_classes('comments', $single);
|
223 |
|
224 |
$class ='';
|
225 |
|
226 |
+
if ( is_object($post) && is_object($single) && $post->ID == $single->ID ){
|
227 |
$class = " class = current ";
|
228 |
}
|
229 |
|
230 |
$lcp_display_output = '<'. $tag . $class . '>';
|
231 |
|
232 |
+
if ( empty($this->params['no_post_titles']) || !empty($this->params['no_post_titles']) && $this->params['no_post_titles'] !== 'yes' ) {
|
|
|
233 |
$lcp_display_output .= $this->get_post_title($single);
|
234 |
+
}
|
235 |
|
236 |
// Comments count
|
237 |
$lcp_display_output .= $this->get_stuff_with_tags_and_classes('comments', $single);
|
list_cat_posts.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: List category posts
|
4 |
Plugin URI: https://github.com/picandocodigo/List-Category-Posts
|
5 |
Description: List Category Posts allows you to list posts by category in 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, the number of posts to display and many more parameters. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
|
6 |
-
Version: 0.59
|
7 |
Author: Fernando Briano
|
8 |
Author URI: http://fernandobriano.com
|
9 |
|
3 |
Plugin Name: List category posts
|
4 |
Plugin URI: https://github.com/picandocodigo/List-Category-Posts
|
5 |
Description: List Category Posts allows you to list posts by category in 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, the number of posts to display and many more parameters. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
|
6 |
+
Version: 0.59.1
|
7 |
Author: Fernando Briano
|
8 |
Author URI: http://fernandobriano.com
|
9 |
|
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: 3.3
|
6 |
Tested up to: 4.1.1
|
7 |
-
Stable tag: 0.59
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -451,6 +451,10 @@ Template system has changed. Custom templates should be stored in WordPress them
|
|
451 |
|
452 |
== Changelog ==
|
453 |
|
|
|
|
|
|
|
|
|
454 |
= 0.59 =
|
455 |
|
456 |
**Thanks Sophist from UK for this release** :)
|
4 |
Tags: list, categories, posts, cms
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.1.1
|
7 |
+
Stable tag: 0.59.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
451 |
|
452 |
== Changelog ==
|
453 |
|
454 |
+
= 0.59.1 =
|
455 |
+
|
456 |
+
* Fix some errors
|
457 |
+
|
458 |
= 0.59 =
|
459 |
|
460 |
**Thanks Sophist from UK for this release** :)
|