GenerateBlocks

Description

Add incredible versatility to your editor without bloating it with tons of one-dimensional Gutenberg blocks. With GenerateBlocks, you can learn a handful of blocks deeply and use them to build anything.

GenerateBlocks works hand-in-hand with GeneratePress, but is built to work with any theme.

Container

Organize your content into rows and sections. The Container block is the foundation of your content, allowing you to design unique sections for your content.

Grid

Create advanced layouts with flexible grids. The Grid block gives you the ability to create any kind of layout you can imagine.

Headline

Craft text-rich content with advanced typography. Everything from headings to paragraphs – take full control of your text.

Buttons

Drive conversions with beautiful buttons.

Performance

We take performance seriously. Minimal CSS is generated only for the blocks you need, and our HTML structure is as simple as possible while allowing for maximum flexibility.

Coding standards

Built to the highest coding standards for security, stability and future compatibility.

Fully responsive

Every block comes with tablet and mobile controls, giving you total control of your responsive design.

Documentation

Check out our documentation for more information on the individual blocks and how to use them.

Blocks

This plugin provides 5 blocks.

generateblocks/grid
Grid
generateblocks/container
Container
generateblocks/button-container
Buttons
generateblocks/button
Button
generateblocks/headline
Headline

Installation

There’s two ways to install GenerateBlocks.

  1. Go to “Plugins > Add New” in your Dashboard and search for: GenerateBlocks
  2. Download the .zip from WordPress.org, and upload the folder to the /wp-content/plugins/ directory via FTP.

In most cases, #1 will work fine and is way easier.

FAQ

How do I add your blocks to my page?

  • Create a new page or post
  • Add a new block, and look for the “GenerateBlocks” category
  • Choose your block and start building.
  • It’s always best to start with a Container block.

What theme should I use?

GenerateBlocks was built to work hand-in-hand with GeneratePress. However, it will work with any theme you choose.

Reviews

شتنبر 15, 2020
I've been trying a lot of block plugins. Every one has been ... lacking or bloated og just felt wrong. I always disliked the lock-in. I've been using GeneratePress for a while on multiple sites, and it just does it all for me. (Premium user, btw) I can design a complete website, and only need a few lines extra for css. With GenerateBlocks I can go even further and make the sites' content even better. Gutenberg ftw, but I've missed these blocks so much! Thanks, Tom ++!
شتنبر 14, 2020
As always everything from Tom and the GP team is awesome. This plugin is so awesome and light-weight though. Only just started using it and I can see how its going to save me SO MUCH TIME. Great job.
شتنبر 14, 2020
Working with it in Gutenberg feels very fast and compatible. Good UX, getting the hand of it pretty quickly. After that creating layouts while typing /grid /container /headline /paragraph /button works like a charm. You should know some CSS so the learning curve is not that steep, but if you do it's like almost everything that you can type in a css file can be achieved in a matter of few clicks. Working perfectly with GeneratePress, I theme I've also fell inlove recently! Nice, simple, though complex, and fast plugin. Recommend
يوليوز 22, 2020
GenerateBlocks is super lightweight and makes all the design layouts I want to achieve easy The 4 blocks can create almost anything you're wanting to build. Another gem made by Tom
يوليوز 20, 2020
More excellent work from Tom Usborne. As a longtime user of GeneratePress I didn't hesitate to give this a shot. I've been holding off getting into blocks, being a bit old skool it all seemed a bit clunky and 'more-or-less OK' and I found I often had to download quite a lot of third party plugins to get the job done. This little collection sorts that out right away - all the layout basics covered with fine-grain control, all the parameters you need are right there. CLean and highly functional. 11/10.
Read all 45 reviews

Contributors & Developers

“GenerateBlocks” is open source software. The following people have contributed to this plugin.

Contributors

“GenerateBlocks” has been translated into 6 locales. Thank you to the translators for their contributions.

Translate “GenerateBlocks” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.2

  • Fix: Set background image selector default if undefined
  • Fix: Set background image opacity default if undefined
  • Tweak: Remove parsed content caching

1.1.1

  • Fix: Undefined index notice when using background images

1.1.0

  • New: Persistent responsive controls across blocks
  • New: Filter all HTML attributes
  • New: Filter Container tagNames
  • New: Add containerAfterElementTag filter
  • New: Add option to apply background image as pseudo element
  • New: Add support for alignwide/alignfull in Container block
  • New: Display color palette by default in Color component
  • New: Add option to choose default view in Color component
  • New: Add aria-label option for Buttons into advanced panel
  • Tweak: Deprecate background image overlay option
  • Tweak: Move hexToRGBA to utils
  • Tweak: Fix repeated common CSS
  • Tweak: Re-design normal/hover state buttons
  • Tweak: Filter default background image size
  • Tweak: Cache parsed blocks on front-end
  • Tweak: Better display of admin notices in Dashboard
  • Tweak: Change Container Width label to Contained Width
  • Tweak: Add future framework for migrating/updating old options
  • Tweak: Don’t allow single button to be saved as reusable
  • Tweak: Don’t allow element tagName to be filtered
  • Tweak: Allow all standard richText formats in Headline block
  • Tweak: Better iconSize responsive placeholders
  • Tweak: Allow decimal values in gradient start/stop
  • Tweak: Move block name to the end of editor.desktopCSS filter args
  • Tweak: Add buttonColorsHover to editor.controls filter
  • Tweak: Change editor.insideContainerWrapper filter to frontend.insideContainer
  • Tweak: Pass attributes to frontend.insideContainer instead of props
  • Fix: gridId value in nested grids
  • Fix: Use inline-block for inline headlines with no icon
  • Fix: Missing text domains
  • Fix: Display Headline highlight option in Headline block only
  • Fix: Headline icon center alignment in IE
  • Fix: Headline highlight background color in IE
  • Fix: Mobile selector for width in min-height container
  • Fix: Add box-sizing to min-height container on tablet/mobile
  • Fix: Headline text alignment when using an icon
  • Fix: Allow 0 as iconSize value

1.0.2

  • Tweak: Minify/compress all dist files

1.0.1

  • Fix: Add wp_set_script_translations() to translate block editor
  • Tweak: Add spacing to update nag in Settings area

1.0

  • Initial release