Categories
Single Blocks Utility Blocks

Secure Blocks for Gutenberg By Matt Watson

Update: The plugin was removed from the repo 🙁

This plugin has been closed as of January 15, 2020 and is not available for download. This closure is permanent.

The only current way to achieve rol based visibility would be using Editors Kit‘s Role based visibility and Conditional Tags features.

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:

  • Login Block
  • Register Block
  • 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)


This is what the plugin looks like in action:

This is the public content

You will only see this, of course 🙂

Categories
Containers Single Blocks

Carousel Block

This block works similarly to Ben’s Slider for Gutenberg but has more settings/options as it uses columns and horizontal scroll, making it a lot more detailed, flexible and intuitive to use:

Categories
Single Blocks

Ben’s (Image) Slider for Gutenberg

This plugin create a “Carousel Holder” which allows any block type inside each of its slides only images followed by paragraphs.

If you need a slider container that allows to add any type of block inside I would recommend the Carousel Block instead.

Categories
Single Blocks

Block Gallery – Photo Gallery Gutenberg Blocks

Categories
Comparisons Containers Extensions Single Blocks

Animating Gutenberg Blocks: Two Approaches

Adding a little motion to your content can work miracles by literally making it “pop-out”. As with other functionalities there are several plugins that will allow you to add CSS animations using shortcodes, but they can be a little clunky to use. Seeing this feature translated into Gutenberg blocks is really interesting.

I have found several plugins that help animate blocks, and noticed they use two main approaches: The Container and the Extra Settings Panel.

Categories
Single Blocks

Advanced Gutenberg Blocks

Categories
Containers Single Blocks

Simple Shortcode Block

This simple plugin will allow you to preview the content of your shortcode in the backend

What does it look like in the backend?

This is what it looks like in the backend

What happens if you remove the plugin?

The block will disappear from the frontend and you will get this message in the backend. It would be nice if it could fallback to the default “Shortcode” block.