Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Gutenberg Variable Columns

Descrição

Gutenberg has completely changed the editing experience by introducing block-based editor (earlier Gutenberg). It brought more power to content editing.

This plugin will work as add-on to Gutenberg’s ‘Column’ block.

Using this plugin, you will be able to add variable width column block to Gutenberg editor. If you are looking to divide your page/post content into two non-equal width then this plugin is for you.

Ecrãs

  • Click on 'Add Block' button from Gutenberg editor
  • Select 'Variable Columns' block.
  • Adjust column width according to your requirement.
  • Here is the output of 'Variable Columns' block.

Instalação

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. That’s it! Now you’re ready to use ‘Variable Columns’ block in Gutenberg.

Perguntas frequentes

Where can I find ‘Variable Columns’ block in Gutenberg?

Edit any post/page with Gutenberg editor. You just need to click on ‘Add Block’ section on top-left corner of Gutenberg editor and goto Layout Elements. You’ll see ‘Variable Columns’ block in it.

How can I resize column width?

To resize column width, you just need to select ‘Variable Columns’ block and drag range control displayed under ‘Column Width’ label according to your needs from right sidebar.

Avaliações

28 de Outubro, 2019
The idea is neat, but I think using JS on the front-end is a bit overkill and bad for the UX. The layout is created on when the document finishes loading, so with a bad network or a heavy content on the page it looks jumpy. I'd use a specific class on the wrapper element, like first-col-XXX, where the XXX is the width of the first column. And then I'd use CSS to style the first child, like flex-basis: XXX and so on..
13 de Junho, 2019
After installing this plugin, all my existing columns took on the variable column's width settings. This plugin is not limited to only its own variable column block.
19 de Fevereiro, 2019
I liked the concept, and the interface of changing column proportion was easy. However, two deal breakers when used on the final WordPress block editor (on WP 5.0.3): 1. It breaks the CSS for the standard WP columns on the front end 2. It behaves like a block, not a block container. With standard WP columns, I can add sub-blocks underneath. This just gives me one single content area, that is difficult to format within.
Ler todas as 5 avaliações

Contribuidores e programadores

“Gutenberg Variable Columns” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Traduza o “Gutenberg Variable Columns” para o seu idioma.

Interessado no desenvolvimento?

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

Registo de alterações

1.1.0

  • Major release – Now it is possible to add other blocks within Variable Column Block.
  • Fixed the issues reported on plugin support page.

1.0.2

  • readme.txt correction.

1.0.1

  • “wp-editor” added in wp_register_script. “RichText” block is moved to ‘wp-editor’ component, previously was ‘wp-blocks’ component.