Skip to content

Commit 5231e05

Browse files
committed
Final update for 0.80
1 parent 878cf4a commit 5231e05

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

include/lcp-catlistdisplayer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,9 @@ private function get_post_link($single, $text, $class = null){
404404
endif;
405405

406406
$info .= '>' . $text . '</a>';
407+
if($single->post_status == 'private'):
408+
$info .= '<span class="lcp_private"> private</span>';
409+
endif;
407410

408411
return $info;
409412
}

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,11 @@ Template system has changed. Custom templates should be stored in WordPress them
230230
== Changelog ==
231231

232232
= 0.80 =
233+
233234
* Use post title as alt attribute in thumbnails. Thanks @arcticmouse!
234-
* Dynamic pagination. Thanks @zymeth25!
235+
* Dynamic pagination paddin. Thanks @zymeth25! More info: https://github.com/picandocodigo/List-Category-Posts/wiki/Pagination#pagination-padding
236+
* Bugfix current category for posts displayed in the loop. Thanks @zymeth25! More info: https://github.com/picandocodigo/List-Category-Posts/pull/363
237+
* Added "private" text next to a post's title when it's private, thanks to a suggestion by @cmccrone in the support forums. The text is published with the following html: `<span class="lcp_private"> private</span>`, so you can customize the CSS (hide it, change its color, etc.).
235238

236239
= 0.79 =
237240

0 commit comments

Comments
 (0)