Skip to content

This plugin adds Bootstrap column classes to widgets, built mainly as an extention for the Genesis Framework

License

Notifications You must be signed in to change notification settings

JoryHogeveen/genesis-widget-column-classes

Repository files navigation

Genesis Widget Column Classes

Adds Genesis (old bootstrap) column classes to widgets.

WordPress Plugin version WordPress Plugin WP tested version WordPress Plugin downloads WordPress Plugin rating Travis Code Climate License Donate

Genesis Widget Column Classes

Description

As easy as it gets. Add column classes to widgets with a select box, check wether 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.

Filters

genesis_widget_column_classes

Allows you to change the available column classes

Parameters: array Default column classes.
Return: array Array of column classes.

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.

You can use these filters inside your theme functions.php file or in a plugin.

Installation

Installation of this plugin works like any other plugin out there. Either:

  1. Upload the zip file to the '/wp-content/plugins/' directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

Or search for "Genesis Widget Column Classes" via your plugins menu.