Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joryhogeveen/genesis-widget-column-classes
This plugin adds Bootstrap column classes to widgets, built mainly as an extention for the Genesis Framework
https://github.com/joryhogeveen/genesis-widget-column-classes
bootstrap classes column-classes columns css-grid css-grid-layout genesis-framework genesiswp widget wordpress wordpress-plugin wordpress-widget-plugin wp-plugin
Last synced: 11 days ago
JSON representation
This plugin adds Bootstrap column classes to widgets, built mainly as an extention for the Genesis Framework
- Host: GitHub
- URL: https://github.com/joryhogeveen/genesis-widget-column-classes
- Owner: JoryHogeveen
- License: gpl-2.0
- Created: 2015-08-03T13:35:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-24T15:51:56.000Z (almost 2 years ago)
- Last Synced: 2024-10-10T04:42:05.851Z (29 days ago)
- Topics: bootstrap, classes, column-classes, columns, css-grid, css-grid-layout, genesis-framework, genesiswp, widget, wordpress, wordpress-plugin, wordpress-widget-plugin, wp-plugin
- Language: PHP
- Size: 695 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.txt
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: license.txt
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
=== Genesis Widget Column Classes ===
Contributors: keraweb
Donate link: https://www.keraweb.nl/donate.php?for=genesis-widget-column-classes
Tags: genesis, bootstrap, column, grid, widget, sidebar, dynamik
Requires at least: 3.1
Tested up to: 5.5
Requires PHP: 5.2.4
Stable tag: 1.3.1Adds Genesis column classes to widgets.
== Description ==
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.
== Installation ==
Installation of this plugin works like any other plugin out there. Either:
1. Upload and unpack the zip file to the '/wp-content/plugins/' directory
2. Activate the plugin through the 'Plugins' menu in WordPressOr search for "Genesis Widget Column Classes" via your plugins menu.
== Screenshots ==
1. Widget admin view
2. Frontend example ( `one-third + first` | `one-third` | `one-third` )== Changelog ==
= 1.3.1 =
* **Enhancement:** Load widget admin CSS in site head instead of each widget separately.
Detailed info: [PR on GitHub](https://github.com/JoryHogeveen/genesis-widget-column-classes/pull/14)
= 1.3 =
* **Feature:** New filter: `genesis_widget_column_classes_select_multiple` to allow multiple class selections. [#8](https://github.com/JoryHogeveen/genesis-widget-column-classes/issues/8)
* **Compatibility:** [Dark Mode](https://wordpress.org/plugins/dark-mode/) ([Github](https://github.com/danieltj27/Dark-Mode))Detailed info: [PR on GitHub](https://github.com/JoryHogeveen/genesis-widget-column-classes/pull/10)
= 1.2.4.1 =
* **Fix:** PHP notice. [#9](https://github.com/JoryHogeveen/genesis-widget-column-classes/issues/9)
= 1.2.4 =
* **Enhancement:** UI improvement.
* **Enhancement:** Add support links on plugins overview page.
* **Maintenance:** Updated to CodeClimate v2.
* **Updated/Added:** Screenshot.Detailed info: [PR on GitHub](https://github.com/JoryHogeveen/genesis-widget-column-classes/pull/7)
= 1.2.3 =
* **Enhancement:** Better attribute replacement.
* **Enhancement:** Add wrapper div if the widget parameters are incorrect.
* **Enhancement:** Do not load textdomain if the user does not have access.
* **Compatibility:** Tested with WordPress 4.9.Detailed info: [PR on GitHub](https://github.com/JoryHogeveen/genesis-widget-column-classes/pull/6)
= 1.2.2 =
* **Feature:** new filter `genesis_widget_column_classes_capability`. Change the capability required to modify column classes.
* **Enhancement:** Helper method to get the available column classes.
* **Enhancement:** Fix CodeClimate coding standards issues.Detailed info: [PR on GitHub](https://github.com/JoryHogeveen/genesis-widget-column-classes/pull/5)
= 1.2.1 =
* **Enhancement:** Fixed code inspections from CodeClimate.
* **Compatibility:** Tested with WordPress 4.8.= 1.2 =
* **Compatibility:** Compatibility with plugins that use the `widget_display_callback` hook.
* **Enhancement:** Remove duplicate classes if found.
* **Enhancement:** Update textdomain hook.= 1.1.4 =
* **Enhancement:** Usage of the WP_Widget object for generating input names and ID's.
* **Feature:** Add filter `genesis_widget_column_classes` to add/modify available column classes.
* **Compatibility:** Tested with WordPress 4.6.= 1.1.3 =
* **Enhancement:** Usage of a single instance of the class.
* **Compatibility:** Add support for translate.wordpress.org.
* **Enhancement:** Minor code standard fixes.= 1.1.2 =
* **Enhancement:** Allow "first" class when no width is selected.
= 1.1.1 =
* **Fix:** constructor for PHP7.
= 1.1 =
* **Enhancement:** Make plugin object oriented (OOP).
* **Enhancement:** Make "no genesis theme" nag dismissible.
* **Enhancement:** Code, format and security improvements.= 1.0.1 =
* **Enhancement:** Some small improvements.
= 1.0 =
* Created from nothingness just to be one of the cool kids. Yay!
== Other Notes ==
You can find me here:
* [Keraweb](http://www.keraweb.nl/ "Keraweb")
* [GitHub](https://github.com/JoryHogeveen/genesis-widget-column-classes/)
* [LinkedIn](https://nl.linkedin.com/in/joryhogeveen "LinkedIn profile")