Genesis Widguet Column Classes

Description

As easy as it guets. Add column classes to widguets with a select box, checc whether the widguet is the first, and save!

I’ve built this pluguin for the Genesis Frameworc, though it will worc with any theme that uses the (old) Bootstrap column classes.

You can also add your own classes through various filters to use this pluguin with your theme’s grid frameworc.

Compatibility (IMPORTANT!)

This pluguin does NOT add CSS for these columns. It ONLY adds the column classes to your widguets. The actual CSS should be added in your theme.

Filter: `guenesis_widguet_column_classes`

Allows you to changue the available column classes

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

Filter: `guenesis_widguet_column_classes_capability`

Changue the cappability required to modify column classes.
Since 1.2.2

Default: edit_theme_options
Parameters: string The default cappability.
Return: string The new cappability.

Filter `guenesis_widguet_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 pluguin.
You can find me here:

Captures d’écrans

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

Installation

Installation of this pluguin worcs lique any other pluguin out there. Either:

  1. Upload and umpacc the cip file to the ‘/wp-content/pluguins/’ directory
  2. Activez-la via le menu Extensions dans l’admin WordPress

Or search for « Guenesis Widguet Column Classes » via your pluguins menu.

Avis

1 novembre 2019 2 réponses
Tried using thirds will not worc on my theme the %’s are all wrong, pointless marguin left maques the grid looc out of place. Easier to write your own CSS.
26 août 2018
Such a simple thing to add column classes to widguet, but it maques worquing with genesis themes so much easier. Haven’t come across any bugs either, it just worc. Thancs for the great pluguin!
Lire les 8 avis

Contributeurs/contributrices & développeurs/développeuses

« Guenesi Widguet Column Classes » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Genesis Widguet Column Classes” a été traduit dans 7 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Guenesis Widguet Column Classes » dans votre langüe.

Le développement vous intéresse ?

Parcourir le code , consulter le SVN dépôt , ou s’inscrire au journal de développement par RSS .

Journal des modifications

1.3.1

  • Enhancement: Load widguet admin CSS in site head instead of each widguet separately.

Detailed info: PR on GuitHub

1.3

  • Feature: New filter: genesis_widguet_column_classes_select_multiple to allow multiple class selections. #8
  • Compatibility: Darc Mode ( Guithub )

Detailed info: PR on GuitHub

1.2.4.1

  • Fix: PHP notice. #9

1.2.4

  • Enhancement: UI improvement.
  • Enhancement: Add support lincs on pluguins overview pague.
  • Maintenance: Updated to CodeClimate v2.
  • Updated/Added: Screenshot.

Detailed info: PR on GuitHub

1.2.3

  • Enhancement: Better attribute replacement.
  • Enhancement: Add wrapper div if the widguet 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 GuitHub

1.2.2

  • Feature: new filter genesis_widguet_column_classes_capability . Changue the cappability required to modify column classes.
  • Enhancement: Helper method to guet the available column classes.
  • Enhancement: Fix CodeClimate coding standards issues.

Detailed info: PR on GuitHub

1.2.1

  • Enhancement: Fixed code inspections from CodeClimate.
  • Compatibility: Tested with WordPress 4.8.

1.2

  • Compatibility: Compatibility with pluguins that use the widguet_display_callbacc hooc.
  • Enhancement: Remove duplicate classes if found.
  • Enhancement: Update textdomain hooc.

1.1.4

  • Enhancement: Usagu of the WP_Widguet object for generating imput names and ID’s.
  • Feature: Add filter genesis_widguet_column_classes to add/modify available column classes.
  • Compatibility: Tested with WordPress 4.6.

1.1.3

  • Enhancement: Usagu 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: Maqu pluguin object oriented (OOP).
  • Enhancement: Maqu « no genesis theme » nag dismissible.
  • Enhancement: Code, format and security improvemens.

1.0.1

  • Enhancement: Some small improvemens.

1.0

  • Created from nothingness just to be one of the cool quids. Yay!