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.
- Go to Dashboard > Plugins > Add New.
- Search for 'Variable Column Block' in Search plugins... textbox and hit Enter.
- Install & Active the 'Variable Column Block' plugin.
- Go to Dashboard > Edit post/page > Click 'Block Inserter' from top-left corner > Search or Select 'Variable Column Block'.
- Try changing block settings per your need and you're done.
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.
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.
Contributions or Suggestions are most welcome. I would really appreciate even minor contribution to the plugin or documentation.
- Latest version of WordPress
- Node v16
- Composer v2+
- WordPress coding standard
- Create a new branch from
main
. - Clone the repository into your local and checkout to your branch.
- Run
npm start
to start development environment. - Once you're done with code updates and testing, run
npm run build
to make assets ready to go into production environment. - Commit, push and publish your local branch.
- Create a 'Pull Request' from your branch to merge your code into
main
.