Posts in Sidebar 4.3.0 has been released with some interesting new features for users. Let’s take a look into that.
Continue reading “Posts in Sidebar 4.3.0 released”
A new version of Posts in Sidebar has just been released. Not so big news, but a little new option has been added to display the modification time, either for the post date and for the post modification date.
Continue reading “Posts in Sidebar 4.2.0 released”
After only two weeks from the last release, a new version of Posts in Sidebar has been published. The new version adds an option to get posts by recent comments and an option to display all the custom fields of a post.
Continue reading “Posts in Sidebar 4.1 released”
I just released a new version of Posts in Sidebar plugin and it’s live on the WordPress repository just now. After 3 weeks from the last release, a new version brings new capabilities in using the power of WordPress for retrieving your posts.
Continue reading “Posts in Sidebar 4.0 is available”
A short post to explain how to use custom roles with Private Content plugin.
As you already know, my Private Content Plugin works fine with WordPress built-in standard roles. Sometimes a user asks for more informations on how the plugin works with custom roles. Let’s see that in this post.
Continue reading “Private Content plugin and custom roles”
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, when viewing a single post page (i.e. a blog post page), can display a content different from the standard. 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 (exactly 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”
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”
This is a Saturday of updates! After having released v.2.2 of Private Content plugin, now I’m proud to introduce you the just-cooked 1.8 version of Posts in Sidebar. Just last week I released the v1.7 with important new features like the possibility to show not only posts but also pages and custom post types. This week you’ll get the last missing features and this is the changelog for the new v1.8 of Posts in Sidebar:
- New: added post format as option to get posts.
- New: added option for link to custom post type archive.
- New: added option for link to post format archive.
- Other minor changes.
Only one function is now missing: grab posts using custom taxonomies. Hope to finish this work soon.
One of the frequently asked questions the users of my plugin Private Content do is the following:
Is there a way to display an alternate text to readers that haven’t the rights to read the hidden text
I’ve always answered that this plugin was designed to show only a simple note to the subscribers/collaborators, leaving other members/visitors out of any type of message. But often a developer can’t imagine all the possible usages a piece of software can encounter. This plugin, clearly, is used not only to display private notes/messages to some people, but also to display an alternative text if these readers haven’t the rights to read that note/message.
I’ve been always opposed to add this feature, but today I added it to Private Content. So, if you asked for it, update the plugin to version 2.2.
As usual write the to-be-hidden sentence wrapped into the shortcode, but add option
alt, for example:
[private role="author" alt="Sorry, but you have not rights to read this."]Secret text for authors[/private]
In this way Authors (and higher members, like Editors and Amministrators) will read this, while lower members will read only Sorry, but you have not rights to read this.