From f2f512a935f450d834d2ab238dccfff5f5dea588 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Sat, 23 Sep 2017 10:58:15 -0500 Subject: [PATCH] prep 2.9.0 release --- CHANGELOG.md | 9 +++++++-- README.md | 11 ++++++++--- display-posts-shortcode.php | 4 ++-- readme.txt | 11 +++++++++-- 4 files changed, 26 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b34c4b..71ebdfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,13 @@ All notable changes to this project will be documented in this file, formatted v ### [2.9.0] #### Added -* New parameter `exclude` for excluding specific post IDs -* New parameter `category_id` for specifying category by ID (note: only accepts a single ID) +* New parameter `exclude` for excluding specific post IDs, see #154 +* New parameter `category_id` for specifying category by ID (note: only accepts a single ID), see #156 +* New parameter `include_date_modified` for displaying the date the post was last updated, see #150 + +#### Fixed +* Shortcode title now appears above the wrapper (ul/ol/div), fixing invalid markup, see #165 +* Limit visibility to readable posts ### [2.8.0] #### Added diff --git a/README.md b/README.md index 8d368b1..f0fdad8 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ **Donate link:** https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MQKRBRFVRUV8C **Tags:** shortcode, pages, posts, page, query, display, list **Requires at least:** 3.0 -**Tested up to:** 4.6.0 -**Stable tag:** 2.7.0 +**Tested up to:** 4.8 +**Stable tag:** 2.9.0 Display a listing of posts using the [display-posts] shortcode @@ -39,6 +39,11 @@ Specify the category slug, or comma separated list of category slugs. Default: empty Example: [display-posts category="fishing,hiking"] +**category_id** +Specify the category ID +Default: empty +Example: [display-posts category_id="123"] + **category_display** Specify 'true' to display the categories the current post is in. Specify a taxonomy slug (e.g., 'post_tag') to list a different taxonomy. Default: empty @@ -136,7 +141,7 @@ Example: [display-posts image_size="thumbnail"] **include_author** Specify whether or not to include the post's author name. -Default: false +Default: false Example: [display-posts include_author="true"] **include_content** diff --git a/display-posts-shortcode.php b/display-posts-shortcode.php index 2a1805d..8766695 100644 --- a/display-posts-shortcode.php +++ b/display-posts-shortcode.php @@ -3,7 +3,7 @@ * Plugin Name: Display Posts Shortcode * Plugin URI: http://www.billerickson.net/shortcode-to-display-posts/ * Description: Display a listing of posts using the [display-posts] shortcode - * Version: 2.8.1 + * Version: 2.9.0 * Author: Bill Erickson * Author URI: http://www.billerickson.net * @@ -15,7 +15,7 @@ * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * @package Display Posts - * @version 2.8.0 + * @version 2.9.0 * @author Bill Erickson * @copyright Copyright (c) 2011, Bill Erickson * @link http://www.billerickson.net/shortcode-to-display-posts/ diff --git a/readme.txt b/readme.txt index 54a03d5..93104f3 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: billerickson Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MQKRBRFVRUV8C Tags: shortcode, pages, posts, page, query, display, list Requires at least: 3.0 -Tested up to: 4.7 -Stable tag: 2.8.0 +Tested up to: 4.8 +Stable tag: 2.9.0 Display a listing of posts using the [display-posts] shortcode @@ -30,6 +30,13 @@ Add the shortcode in a post or page, and use the arguments to query based on tag == Changelog == +**Version 2.9.0** +* New parameter `exclude` for excluding specific post IDs, see [#154](https://github.com/billerickson/display-posts-shortcode/issues/154) +* New parameter `category_id` for specifying category by ID (note: only accepts a single ID), see [#156](https://github.com/billerickson/display-posts-shortcode/issues/156) +* New parameter `include_date_modified` for displaying the date the post was last updated, see [#150](https://github.com/billerickson/display-posts-shortcode/issues/150) +* Shortcode title now appears above the wrapper (ul/ol/div), fixing invalid markup, see [#165](https://github.com/billerickson/display-posts-shortcode/issues/165) +* Limit visibility to readable posts + **Version 2.8.0** * Added include_link="false" to remove link from post title and image, see [#137](https://github.com/billerickson/display-posts-shortcode/pull/137) * Fixed category display when using multiple post types, see [#143](https://github.com/billerickson/display-posts-shortcode/issues/143)