![]() `column value | pixel: column value | pixel: column value |. If the pipe delimiter is not present, the plugin will add 600: 1 internally by default. 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*. ` 5 ) ) ?>` will display the widgets in 5 columns. Use the `ResponsiveColumnWidgets()` function. Putting a PHP code into the theme is one way of doing it. The widget box can be displayed outside post/pages. `` 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. `` will show the widgets in 3 columns in the first row, 2 columns in the second, and 5 to the third. Optionally, if you like to change the number of columns in each row, use sequential numbers separated by commas. `` will display the widgets in 4 columns. 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**. * **Option A**: add the shortcode in the post. To display the added widgets in a post, there are mainly two different means. You'll see a new custom sidebar box named **Responsive Custom Widgets**.ģ. Activate the plugin through the 'Plugins' menu in WordPress.ġ. Upload **`responsive-column-widgets.php`** and other files compressed in the zip folder to the **`/wp-content/plugins/`** directory.,Ģ. If you can code, you can pass an array to the plugin's filter so that your array contents can be rendered in multiple columns instead of widgets.ġ. With the widget that the plugin provides, the whole sidebar contents can be embedded as a widget item into another sidebar.Ĭolumn spans are configurable so that you can set wider widget areas. This is *widgets in widget* functionality. Sidebars defined by your theme also can be displayed in columns.Īchieve more advanced complex design by taking advantage of the options that the plugin provides. ![]() Use PHP code in the theme template or the shortcode in posts. Take advantage of the Auto-insert feature which automatically inserts the defined widget box to your desired location. In other words, you can control the number of columns for particular screen widths. ![]() You can flexibly set the number of columns in each row.įlexibly set the number of columns by browser width. This is important for tablet and mobile visitors. When the browser width changes, it automatically adjusts the layout. The plugin will let you display widgets horizontally with a grid system. Enable Auto-insert or insert the shortcode. Then the plugin will take care of it for you. If you are a developer and looking for an easy way to render some outputs in responsive columns, this plugin will be handy. Show Responsive Columns in Posts with Widgetsĭo you want to arrange widgets horizontally? If so, this plugin may be the solution for you.Īdd desired widgets to the custom sidebar the plugin creates and set up an auto-insert. Tags: column, grid, layout, magazine layout, responsive, sidebar, widgetĬreates a custom responsive column widget box.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |