sandywp / plugins / genesis-widget-column-classes
Genesis Widget Column Classes
Adds Genesis column classes to widgets.
Ready in seconds.
v1.3.1 5,000+ installs WP 3.1+ PHP 5.2.4+

What you get inside
2 screens-
Widget admin view
-
Frontend example ( one-third + first | one-third | one-third )
About this plugin
As easy as it gets. Add column classes to widgets with a select box, check whether the widget is the first, and save!
I’ve built this plugin for the Genesis Framework, though it will work with any theme that uses the (old) Bootstrap column classes.
You can also add your own classes through various filters to use this plugin with your theme’s grid framework.
Compatibility (IMPORTANT!)
This plugin does NOT add CSS for these columns. It ONLY adds the column classes to your widgets. The actual CSS should be added in your theme.
Filter: `genesis_widget_column_classes`
Allows you to change the available column classes
Parameters: array Default column classes.
Return: array Array of column classes.
Filter: `genesis_widget_column_classes_capability`
Change the capability required to modify column classes.
Since 1.2.2
Default: edit_theme_options
Parameters: string The default capability.
Return: string The new capability.
Filter `genesis_widget_column_classes_select_multiple`
Allow multiple classes to be selected.
Since 1.3
Return: boolean.
You can use these filters inside your theme functions.php file or in a plugin.
You can find me here:
sandywp / also on the shelf
Try another plugin
5.0 · 10K+ installs
Bootstrap Gutenberg Blocks for WordPress. This plugin adds Bootstrap components and layout options as Gutenberg blocks.
4.8 · 10K+ installs
This plugin modifies the output of the popular Contact Form 7 plugin to be styled in compliance with themes using the Bootstrap…
4.7 · 7K+ installs
A clean and simple contact form with flexible CSS framework support.
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.