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
Meta-Review

Duplicated block dependencies

I noticed this message below while I was testing performance on gu10.blog (using GTMETRIX via ManageWP). I am curious as if there is already some strategy on the roadmap to address this problem.

The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 46.4KiB.

The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 41.9KiB.

The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 1.3KiB.

Categories
Containers Single Blocks

Pop Up Block by Block Party

This plugins provides a single new block, which works as a container. It gets added along all other “Common 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
Comparisons Reviews

Table of contents (Summary) Blocks: A comparison

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 it 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.

Categories
Block Management Collections Post Loops Utility Blocks

Advanced Gutenberg

This one’s a bit confusing, as there is already another plugin called Advanced Gutenberg Blocks.

This plugin offers a balanced list of blocks, including some not too common, such as the “Advanced list” and the “Summary” blocks.

Categories
Comparisons Reviews

Tab Blocks: a comparison

Historically tab blocks have been something relatively tricky to do, requiring fiddling around with shortcodes or, worse even, inserting them into theme templates (I have a dark past, I will admit that).

Fortunately there are many block collections which come with built in tab blocks and that will make it a lot simpler to manage your tabs.

Here are a few ordered from the most basic ones to those with more options/settings. I plan to add more blocks in the future as I review more block collections:

Table Of Contents

Categories
Reviews Single Blocks

Kona – Instagram Feed for Gutenberg

A fairly straightforward and light-weight block to add an instagram feed. If need want extra options & settings please check other options, such as the block offered by Ghost Kit.

I quite like to, when you first insert it, the block provides a link right there to go get a IG token:

Categories
Block Management Collections Containers Extensions Templates

Ghost Kit – Gutenberg Blocks and Templates Collection

This is one of may favourite block collections because it offers block management and extra display/spacing/animation settings.

Update: I have done a new review of this plugin, focusing on not just the blocks but on all the additional settings and extensions in functionality, please check it here.

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: