Toolset Blocks is our new plugin, currently in beta. Use it to test the new way of visually designing your Toolset templates using the WordPress Block Editor. Toolset Blocks is in a dynamic stage so you can expect frequent beta updates but you should not yet use it for live production sites. Let us know how it goes and what features you are missing.
To start, you need to install the following plugins:
- Toolset Types
- Toolset Views
- Toolset Blocks
- Kadence Blocks
You can install Toolset plugins from your account’s Downloads page.
We recommend using the Kadence Blocks for adding columns to your Block Editor designs. This is because, at this time, we find the built-in Block Editor’s columns to be lacking some important features. Kadence Blocks is a free, third-party plugin.
To start designing templates using the Block Editor, you need to set it as a default template editor. If needed, you can later switch to the standard editor for any specific template.
Go to the Toolset -> Settings page and select the Block Editor option in the Editor to use for Content Templates section.
Once you set this option, you can create a new Content Template and you will see an empty Block Editor for designing it.
Go to the Toolset -> Dashboard page. In the row of the post type you want to create a template for, click the Create Content Template button.
Watch this short video to learn how to edit with the Block Editor:
Templates are the basis of designing a custom site and displaying your content on the front-end.
You use templates to design the output of three main types of content on your site:
- Single posts of a certain post type
- Archive pages
- Custom lists of content, i.e. Views
The process of designing all of these types of templates is basically the same.
You can display fields using three methods:
- Set block attributes from field values
- Display fields as individual blocks
- Combine fields with text in one block
Let’s look at these different options and see where each of them makes sense. We’re using our Travel Destinations example and we’ll show how to build different parts of the “travel destination” template.
Every block in the Toolset Blocks library allows setting the value of every attribute from fields. Let’s look at a few examples to illustrate how this works and what you can do with it.
Here is a quick video that shows how to create a dynamic heading, “contact the tour operator” button and “featured image”:
You can display any post field or Toolset custom field as a block. For example, the main tour description is the “post body”. To display it, add the Single Field block and select the Post Content (Body) field.
Some parts of our template require a mix of fields and texts. For example, you may want to add labels next to the output of your custom fields. The easiest way to create this kind of a table is using the Fields and Text block.
You can use this block to insert Fields, Views or Forms. You can also use Conditional output for custom fields. All of this can be done using the block’s Visual or HTML editor.
You can easily allow adding multiple images at once using repeating image fields. To create an image gallery from your repeating image field, simply insert the TB Repeating Field / Gallery block into your template.
When designing your pages and templates, you will want to arrange elements in columns. This means putting certain elements side-by-side.
The columns functionality in the WordPress Block Editor is still “work in progress”. To enjoy rich and convenient layout design, we recommend using a plugin called Kadence Blocks.
Sometimes, your Kadence columns can be displayed wider than the width of the main contents. In most cases, you can solve this by editing your Row Layout options and adjusting the Column Gutter.
Also, there are three Block Editor features that help you design and tweak your multi-column layouts:
- Use the Fullscreen mode (work without distraction)
- Use the Block Navigation feature to navigate between columns
- Use a one-column block for grouping a set of blocks
Watch this short video to see how to use columns in your designs:
Often, you will need to tweak the design of individual Toolset blocks. For example, you might want to change the output colors for fonts, backgrounds, and more. Or, you might want to change the margin or padding for specific fields output by Toolset.
Toolset allows you to easily do this in two ways:
- Using the styling controls in the sidebar
- Selecting a block container and applying CSS to it
Toolset blocks provide you with an interface to adjust the most useful styling options. For example, you can adjust margins, paddings, colors, and more.
Simply select the Toolset block and Styling section in the Block Editor sidebar.
Please note that different types of Toolset blocks can have different styling options available.
Applying custom CSS to Toolset blocks gives you unlimited styling possibilities.
First, you can select which HTML element you want to use for the container. You can choose from div, header, span, and more.
Then, you can add any CSS classes to the block and applying styling right from the editor.
Toolset allows you to display custom lists of any content on your site. You can now create and design these lists visually, right from the Block Editor.
Start by inserting the View Editor block into Block Editor. Use different blocks to design your View. To display standard and custom fields, use Toolset Blocks.
Until now, we saw how to design Content Templates with the Block Editor. Now let’s see how to use the Block Editor to design archives and Views.
Toolset allows you to create custom archive pages for your content. An archive page outputs a list of all posts, usually ordered by date.
Go to the Toolset -> Dashboard page. In the row of the post type you want to create an archive for, click the Create Archive button.
You are now on the archive editing page.
Watch this short video to learn how to start designing the output of an archive page:
Now, use the Block Editor and design the template as seen in the previous section.
Toolset provides dedicated blocks to insert Views, Forms, and Maps into templates and single pages you design using the Block Editor. You will find these together with other Toolset blocks.
Toolset Blocks is currently in beta so there will still be many changes and updates, as well as new features added.
We have a list of all known issues for your convenience and will update it frequently.