Private Content 5.0 released

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!

Posts in Sidebar 4.7.0 released

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”

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.