跳到内容

Genesis Widget Column Classes

v1.3.1

Jory Hogeveen · 2015年8月3日 上架

Adds Genesis column classes to widgets.

正在使用
5,000+
评分
4.5 / 5
累计下载
9.4 万
最近更新
2026年10月20日
8 条评价需要 WordPress 3.1+已测试到 7.1.5PHP 5.2.4+

贡献者

截图

Widget admin view
Widget admin view
Frontend example ( one-third + first | one-third | one-third )
Frontend example ( one-third + first | one-third | one-third )

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:

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums