

If the pipe delimiter is not present, the plugin will add 600: 1 internally by default.įormat: column value | pixel: column value | pixel: column value |. If the pixel is omitted, it is considered no limit. To set the number of columns by screen max-width, use the colon(:) character after the width, and use the pipe (|) character to delimit each set of number of columns. The rest rows follow the last set number.

For instance, 3, 2, 4 would display 3 columns in the first row and 2 columns in the second row and four columns in the third row and so on. If you want to specify the number of columns in each row, put the numbers separated by commas. columns – the number of columns to show.There are other parameters besides columns. Use the ResponsiveColumnWidgets() function.įor instance, ?php if ( function_exists( 'ResponsiveColumnWidgets' ) ) ResponsiveColumnWidgets( array( 'columns' = 5 ) ) ? will display the widgets in 5 columns. Putting a PHP code into the theme is one way of doing it. The widget box can be displayed outside post/pages. For instance, will show the widgets in 5 columns when the browser widths is greater than 800, and 4 when the browser width is 800 to 601, and 2 when the browser width is 600 to 481, and 1 when the browser width is less than or equal to 480. To set the number of columns for each screen max-width, use the pipe (|) character as the delimiter and place the width in pixel followed by a colon (:). Change the numbers accordingly for your needs. Optionally, if you like to change the number of columns in each row, use sequential numbers separated by commas.įor instance, will show the widgets in 3 columns in the first row, 2 columns in the second, and 5 to the third.

It can be changed by setting the columns parameter.

Specify Different Number of Columns in Each Rowīy default, the widgets are displayed in 3 columns. Option B: use the auto-insert feature by enabling the Enable Auto-insert option in the plugin setting page, New / Edit.
