If you want to list items in a 4×4 grid such as a gallery you will need blocks on two layers, lines and columns, which means that you will use nested blocks.
Nested blocks are blocks inside other blocks.
There will be at least two variables representing the dimensions of the grid(user choice), eg: Lines & Columns/ All Items & Items per Line.
For this example we assume that the paginator in order to return only LC results per page, and only check when to go to the next row block.
LC – number of lines * number of columns Continue reading