The Private Content plugin has reached the 5th major release with a very smart new option. Now the user can reverse the logic of the
recipient option by enabling the new
reverse option, so that users added in
recipient are now excluded from reading the private note.
As you know, we can tell the plugin that some users can read a certain note. For example, only Alice will read the note “Text for Alice only”:
[private role="none" recipient="alice"]Text for Alice only.[/private]
You can use multiple users too, separating them with a comma:
[private role="none" recipient="alice, bob, charlie"]Text for Alice, Bob, and Charlie only.[/private]
Here comes the new
reverse option. What about if I want to show the private note to all users, excluding Alice, Bob, and Charlie?
We can reverse the logic of the
recipient option. The
recipient option is activated with
recipient=1 and this is an example:
[private role="none" recipient="alice, bob, charlie" reverse=1]Text for all users. Alice, Bob, and Charlie cannot read this.[/private]
Thanks to @blackbird69 on the WordPress forums for posting the question and giving me this idea!
After more than 80 commits, many hours of work and a lot of love, Posts in Sidebar 4.7.0 has landed in the WordPress repository! I hope you find useful the new additions and the rest of what has been done. Let’s see what’s new dissecting the changelog.
Continue reading “Posts in Sidebar 4.7.0 released”
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.
Posts in Sidebar 4.4.0 has been released with a new option: post title shortening. After a user of the plugin requested for it, I thought it would be a useful feature for some users.
Continue reading “Posts in Sidebar 4.4.0 released”
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”