Autogrid is a block for the WordPress block editor that allows you to create adaptive columns. The elements inside it are automatically distributed into columns, filling the available space.

The order of customization

  1. Set the maximum number of columns and their minimum width, after reaching which the cells will be redistributed.
  2. Specify the size of spacing between cells and their padding. These parameters can be configured adaptively, for example by setting min. the size of the container when the value should be applied.
  3. If necessary, set the width of certain cells by specifying the number of columns they should occupy. You can specify the minimum and maximum number of columns to be displayed when the value should be applied.
  4. Done! Test.


  • Example of Autogrid block
  • Autogrid Block Settings
  • Autogrid block cell Settings
  • Autogrid block cell Settings
  • How the Autogrid block looks on the site


यो प्लगिनले 2 ब्लकहरू उपलब्ध गराउँछ।

  • Autogrid Autogrid Block. The elements inside this block are automatically distributed in columns, filling the available space.
  • Autogrid Item Autogrid Block Item.


What browsers are supported?

The grid works well in modern browsers:
Chrome 79+, Firefox 76+, Edge 79+, Safari 16+.

Adaptability starts working only with:
Chrome 106+, Firefox 110+, Edge 106+, Safari 16+.

The information is obtained based on a comparison of the support of the CSS features used: CSS Grid, CSS math function min(), CSS function repeat(), CSS Container Queries.

Are the adaptability settings working strangely?

The Min and Max values in the adaptivity settings “Spacing between cells” and “Padding of cells” are set in px and indicate the width of the Autogrid container, not the width of the viewport.

The Min and Max values in the adaptability settings of the “Cell Size” are set in integers and literally indicate the number of columns displayed when the rule should be applied.

Where can I see the source code?

You can check out the source files on Github.


फेब्रुअरी 11, 2024 1 जवाफ
I only tested this plugin for about 10 minutes, but that was enough for me to come here and give it my 2 word review:Pure Genius !!! Ok, some more details: Before this plugin in order for me to achieve some complex multi “row” layouts, with different “cell” sizes, I have to setup multiple Columns blocks, and group them together. Even though with the Columns setup, you have more precise control for the column sizes, this plugin simplifies things a lot. Also, considering that this plugin is only 75kb in size, a rare sight nowadays, I am extremely happy and impressed with this – so far… If any issues arise, I will report back. Thank you for this plugin !
सबै 1 समीक्षा पढ्नुहोस्

योगदानकर्ता र डेभलपरहरू

“Autogrid” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।


“Autogrid” 1 लोकेलमा अनुवाद गरिएको छ। योगदानको लागि अनुवादकहरूलाई धन्यवाद।

“Autogrid” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्

विकासमा रुचि छ?

आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।



  • Fixed a bug in Safari.


  • Fixed PHP warning and formatted .php


  • Fixed an issue where increasing the cell spacing increases the outer margins as well.
  • Updated the supported settings (supports).
  • Autogrid is now displayed correctly inside the “Group” blocks.


  • Improved adaptability of cell size. Max value was interpreted incorrectly in some cases.
  • Fixed a problem when the Autogrid block nested in the extended cell was displayed incorrectly.