Posts in Sidebar 4.5.1 bugfix release

Last Monday a bugfix version of Posts in Sidebar has been released. This release fixes the incorrect truncation of titles and WordPress-generated excerpts when UTF-8 character set is in use and the user truncates titles and/or excerpts using characters as measure unit.

For example, if you use Russian and you truncate titles or excerpts up to n characters, the last character could be a rhombus with a question mark in it.

Updating to 4.5.1 solves this issue.

How Posts in Sidebar chooses the main category of the post

A technical blog post on the new feature “Sort categories” in the Posts in Sidebar plugin.

One of the features of my plugin Posts in Sidebar is that the widget can display a different content when viewing a single post page (i.e. a blog post page). For example, a user could want to display a list of recent posts in the main widget but, when viewing a single post page, a list of posts published under the same category of the main post. The feature is available under Getting posts > Change the query when on single posts.

In a recent release of my plugin Posts in Sidebar (namely the 3.8.4 version) I made an important change regarding which category to use in order to get the posts, when a post has multiple categories. In the previous versions the plugin picked up the category with the lowest letter in the alphabetically sorted list of the post’s categories and used it to get the posts. Starting from 3.8.4 the plugin can use the category with the lowest ID, that is the WordPress-style to choose the category for the permalink construction. Let’s see something more detailed on this.

Continue reading “How Posts in Sidebar chooses the main category of the post”

Posts in Sidebar 1.19

Yesterday I released Posts in Sidebar 1.19 that contains a requested change. Before 1.19 you have had a dropdown menu in order to select the category or the tag but, if you had a large number of terms, the page would take a lot of time to load.

Some of the users of this plugin asked me to change this. The change has come and now categories and tags will be chosen using a simple text field, where you have to enter the IDs or the slugs of the terms, in the way I’ll explain here.
Continue reading “Posts in Sidebar 1.19”