Releases: picandocodigo/List-Category-Posts
Version 0.80.1 Bugfix release
Last version we introduced a small bug with thumbnails: the link to the post wouldn't be added to the thumbnail anymore. This fixes the issue!
Thanks Werner Mühl for reporting this 😄
Download from WordPress.org:
https://downloads.wordpress.org/plugin/list-category-posts.0.80.1.zip
Version 0.80
Getting back to updating this code after a few months, wanted to get a new version out as fast as possible.
Thanks as always to @zymeth25 who has been responsible for lots of the new stuff in this version. Thanks @arcticmouse for their first contribution to the plugin!
- Use post title as alt attribute in thumbnails - #383. Thanks @arcticmouse!
- Dynamic pagination padding. Thanks @zymeth25! More info
- Bugfix current category for posts displayed in the loop - Fixed #358. Thanks @zymeth25!
- 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.).
Download on WordPress.org:
https://downloads.wordpress.org/plugin/list-category-posts.0.80.zip
Version 0.79
There's been a lot of fixes since the latest release. I was thinking of making this version 1.0, but rather release often than doing a big 1.0 release. There are a few PR's open and other details we'll want to add before "the big 1.0". Stay tuned!
As with most recent versions, @zymeth25 has been responsible for the new stuff in this version:
categorypage
now suppportsyes
for all post's categories with OR relationship,all
for AND relationship andother
to get all categories except current categories (with OR relationship) (thanks @zymeth25! 🎉)- Possibly one of the last versions before 1.0.
- Fixes in current category (thanks @zymeth25! 🎉)
- Added link to Klemens' List Category Posts GUI plugin
- Moved documentation to the wiki: https://github.com/picandocodigo/List-Category-Posts/wiki
- Add 'id' to widget ordering options (thanks @zymeth25! 🎉)
- Add currenttags=all for AND relationship (thanks @zymeth25! 🎉)
Version 0.78
-
Adds
before=today
, when you use it the plugin will get today's date dynamically and display only old posts. Thanks @nnasirzada for the PR implementing this! -
Changes in pagination: You can now have no anchor links in the pagination. Check the wiki for more info. Thanks @zymeth25 for this feature! If you're using the
lcp_page_link
somewhere or customized thelcp-paginator.php
file somehow, watch out because we refactored this function. Also, let us know what you changed to see if we can incorporate it in the core plugin :)
Version 0.77
This release includes:
- Improvements in testing by @zymeth25
- Removed hardcoded wp_ as table prefix and replaced with $wpdb->prefix to allow for WordPress database tables which are setup to use more secure prefixes by @djalondon
Thanks both of you for your colaborations! 🎉
Version 0.75
Thanks @zymeth25 for all the contributions for this version 👏 👏 👏
- All pagination bugs from the recent refactor should be fixed by now.
- Improvements to
custom_fields
andcustomfield_orderby
. Please check the readme for more information. - Empty categories are not hidden anymore from the widget.
- The Vagrant machine was recently upgraded so if you're using it you might have to update it.
Several bug fixes
The following has been fixed/added on this version, thanks everyone who contributed!
- #238 - Makes sure the
tags_as_class
instance variable is defined. This squelched an 'undefined index' PHP Notice that appeared for widgets that were last saved before upgrading to 0.71.1. Fix by Matthew Eppelsheimer (@MatthewEppelsheimer on GitHub). - #239 - Fixes an error notice when widget is displayed for "current category" on post without category -
Notice: Undefined offset: 0 in /include/lcp-category.php on line 69
- #240 - Adds tag/class html customization refactor to excerpt to behave as expected:
- If you provide
excerpt_tag
but notexcerpt_class
, excerpt will be wrapped with given tag. - If you provide
excerpt_tag
andexcerpt_class
, excerpt will be wrapped with provided tag and given class. - If you provide
excerpt_class
but notexcerpt_tag
, excerpt will be wrapped with a span and the given class.
- If you provide
- #241 - Fixes a bug where customfield_value wouldn't work if a custom field's value = 0
- Adds a new tutorial in the docs, check it out!
Version 0.68
Thanks @mmatthews1981, @ottadvantage and @mhoeher for their contributions on this version 👏 👏 👏
- Adds Alt Tag to thumbnail - #191
- Handle child_categories flag correctly - #185
- Adds a default value to numberposts on plugin activation - #193
🎉
Version 0.67
- Adds custom css class to current page in pagination
lcp_currentpage
: 067cb98 - Adds child_categories parameter to being able to exclude child categories' posts from a list: 5c6b117
- New feature to look for the first image in a post when requesting a thumbnail and the post has no featured image. Merged pull #183 by @ottadvantage. Thanks for your contribution!! 😄
I added a small change to the PR, by making this feature optional. So you need to setthumbnail=yes
andforce_thumbnail=yes
in the shortcode in order to have the code grab the first image if no featured image has been set.
Version 0.66
- Docs update I changed the order of some parameters in the readme file. This way, the parameters that let you select which posts to list are all together, and the rest follow them. I hope to keep improving the documentation to make it easier for current collaborators (including me) and newcomers. I'm thinking maintaining this huge readme file is not ideal, but it's WordPress' solution... And I don't feel like maintaining the official plugin documentation for the plugin on wp.org and a different one with better formatting elsewhere (yet). Looks like WordPress could use some improvements in that.
- Issues with tags when using more than one tag for OR and AND relationships should be fixed (f1f956d)
- I documented the use of custom taxonomies. For some reason I never came around to do that. I changed the parameters for taxonomies, it used the
tags
parameter forterms
before, so I added aterms
parameter to make this independent from the tags parameter. Now it looks like this:[catlist taxonomy='person' terms='bob']
. This might break some current uses of taxonomy, but since it was written so long ago and I don't know why it usedtags
(not sure I even wrote that code myself), I decided to just create theterms
parameter. People using the custom taxonomies were people who are looking at the code anyway since I can't find it documented anywhere. Sorry for the inconveniences! - Adds the
category_description
parameter. This was a request in the WordPress forums which made sense. I still need to figure out what to do with it when listing several categories and their titles. Right now they are separated by a comma, maybe we should wrap them in independent tags (the category title and its description). The more flexibility we give here, the more complex the code : - Adds
orderby
andorder
to options page. Removes default values since they're the default anyway. I want to start adding at least one or two new options in each new version, since doing this is pretty boring and tedious, we're slowly getting there #177