Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Variable Column Block

Mô tả

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

This plugin will work as add-on to WordPress ‘Column’ block which will allow you to add variable width column block to editor.

If you are looking for dividing your page/post content into two non-equal width then this plugin is for you.

Ảnh màn hình

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

Block

This plugin provides 1 block.

  • Variable Column Block Allows you to add variable width block into your post/page.

Cài đặt

Install from WordPress plugin dashboard

  1. Visit the plugins page within your dashboard and select ‘Add New’;
  2. Search for ‘Variable Column Block’;
  3. Install & Activate ‘Variable Column Block’;
  4. That’s really it!

Hỏi đáp

Where can I find ‘Variable Column’ block in WordPress?

Edit any post/page with block editor and click on Block Inserter on top-left corner next to site logo. Inside Search box, search for ‘Variable Column’ to find the block and click it.

How can I resize column width?

To resize column width, you just need to select ‘Variable Column’ block and drag range control displayed under ‘Column Width’ label from block settings on right.

Đánh giá

28 Tháng Mười, 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 Tháng Sáu, 2019 1 reply
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 Tháng Hai, 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.
Đọc tất cả 5 đánh giá

Người đóng góp & Lập trình viên

“Variable Column Block” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Variable Column Block” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Variable Column Block” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.2.3

  • Update plugin assets.

1.2.2

  • Change readme.txt

1.2.1

  • Fix – Update plugin assets

1.2.0

  • Fix – broken block due to recent WordPress core component updates.
  • Introducing block.json for developer and performance benefits.

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.