A very simple plugin to limit visibility of your content based on user roles, while offering an alternative area to add the content that will be shown to non logged-in users.
This block could be used to create a simple membership site, for instance.
We could also insert a reusable block in the “public” area with a call to action asking visitors to register, in order to gain access to that content.
This is what the plugin looks like in the backend:
The plugin has a setting to specify the exact user role that will have access to a given instance of the block:
The author of the plugin mentions some features coming down the road:
Password Reset Block
Restrict entire pages / posts, not just inline content
The plugin looks a little bit abandoned at the moment (no updates for the last 9 months) but I was able to confirm it works fine both with the WP core version of the editor (5.2) and with the beta/plugin version (6.6.0)
When writing long posts, a table of contents is absolutely necessary. There are many plugins on the repo which will use the heading structure to create this summary dynamically, and add the to the posts automatically:
I would like to cover today several new blocks that offer a similar functionality to the two examples above but which work as blocks.