GravityWP – CSS Selector

Beschrijving

This plugin is an add-on for the amazing Gravity Forms Plugin.
Special thanks to Brad Vincent and Bryan Willis for developing the first and revised version of this plugin.

Gravity Forms has CSS Ready Classes to style your form fields. Using these classes, you can easily create more advanced layouts for the fields in your forms. Excellent idea, however, the problem is you always need to remember what the exact class name is. Now with this CSS Selector, you don’t need to remember. Simply click on a button to launch the pop-up and choose the class you want to add.

Features

  • Convenient button added under the advanced tab next to the CSS Class field
  • Clean and simple pop-up that lists all the CSS Ready Classes
  • HTML Field Classes (alerts), Gravity PDF, Gravity Perks and CSS Ready Classes selectable
  • Add more than one CSS Ready Class
  • Dubbel klik een CSS klare klasse om toe te voegen en auto-close de pop-up
  • Add your own custom CSS to the pop-up modal

About GravityWP

GravityWP is a third party that develops high-quality addons for Gravity Forms. We provide additional tools that can be used to build full-blown web applications.

  • Advanced Merge Tags: Enhance your form customization with powerful merge tag modifiers, enabling functions like date adjustments, character and word counts, URL encoding, and retrieving data from other forms or sources.
  • JWT Prefill: Securely populate form fields using JSON Web Tokens, ensuring data integrity and streamlining user experience.
  • Advanced Number Field: Enhance number fields with features like custom units, fixed decimal places, sliders, and calculated min/max validation rules.
  • List Number Format: Transform list field columns into numeric formats, supporting calculations such as totals, or other row and column-based computations, with options for rounding, currency, and range constraints.
  • List Dropdown: Convert specific list field columns into dropdown select inputs.
  • List Datepicker: Add calendar-based datepickers to list fields, allowing users to select dates directly within list columns.
  • List Text: Enhance list columns with features like placeholders, textareas, and custom validation.
  • Field to Entries: Automatically generate new form entries based on checkbox selections, multi-select choices, or list row data.
  • Update Multiple Entries: Enable bulk updates of large amounts of existing entries in target forms through trigger forms, streamlining data management.
  • And more…

Discover our suite of powerful Add-ons for Gravity Forms.

Schermafdrukken

  • De knop die toegevoegd wordt aan ‘Geavanceerd’
  • De pop-up die wordt getoond
  • Add custom css

Installatie

  1. Upload de plugin naar jouw /wp-content/plugins/ map
  2. Activeer de plugin in het ‘Plugins’ menu in WordPress
  3. Wees er zeker van dat Gravity Forms ook geactiveerd is.

FAQ

Wat is nodig voordat deze plugin werkt?

Ja, je moet de Gravity Forms Plugin installeren voordat deze plugin werkt (in ieder geval versie 1.5).

How to add custom CSS buttons?

You can add your own CSS to the CSS Selector easily in your functions.php file. Just add the following example code there. It adds quick buttons and an accordion on top of the modal. That way you can put easily your own CSS in the layout you want.

// Add custom css: quick buttons and accordion at the top of the GravityWP - CSS Selector modal
function my_custom_gwp_css_selector_add_css() {
    $html .= "<div class='gwp_quick_links'>
    <a class='gwp_css_link' href='#' rel='your_custom_css_class' title='Adds your_custom_css_class to the CSS field'>Custom css</a>
    <a class='gwp_css_link' href='#' rel='your_custom_css_class_2' title='Adds your_custom_css_class_2 to the CSS field'>2nd custom css</a></div>
    <li>
    <a class='gwp_css_acc_link' href='#'>Custom CSS</a>
    <div class='gwp_css_accordian'>
    <a class='gwp_css_link' href='#' rel='your_custom_css_class' title='Adds your_custom_css_class to the CSS field'>Custom css</a>
    <a class='gwp_css_link' href='#' rel='your_custom_css_class_2' title='Adds your_custom_css_class_2 to the CSS field'>2nd custom css</a>
    </div>
    </li>";
    return $html;
}
add_filter( 'gwp_css_selector_add_custom_css', 'my_custom_gwp_css_selector_add_css' );

Beoordelingen

12 maart 2021 1 reactie
Fantastic plugin to style your Gravity forms. Saves a lot of time. Thanks you so much for making this available.
7 oktober 2019 1 reactie
I’ve check out css name documentation for gravity like a million times to make columns until I came across this plugin.. thanks for making it available. it does what it should. would be nice to have the actual field value delete when selecred other option.
12 maart 2019 1 reactie
Does the job exactly how you want.. wish I could drop 10 points here
19 februari 2018
I tried the other css selector plugin but that looks like it has been abandoned. Found this and very impressed. Worked well and like all the options. Now if only you can create a styling plugin for Gravity forms. Gravity forms is great but ugly and does not have multi column support, but you have done a great job with this.
Lees alle 9 beoordelingen

Bijdragers & ontwikkelaars

“GravityWP – CSS Selector” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“GravityWP – CSS Selector” is vertaald in 1 locale. Dank voor de vertalers voor hun bijdragen.

Vertaal “GravityWP – CSS Selector” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.1

  • Added pot files for translations
  • Updated Dutch translation.

1.0.2

  • Added Gravity Forms version check, hide deprecated CSS Ready Classes in 2.5 and higher
  • Added title tags with more detailed description of the function of every CSS class
  • Added new vertical choices columns (gf_list_2col_vertical, gf_list_3col_vertical, gf_list_4col_vertical, gf_list_5col_vertical), only visible in GF 2.5 and higher
  • Added new HTML Field Classes (gf_alert_green, gf_alert_red, gf_alert_yellow, gf_alert_gray, gf_alert_blue), only visible in GF 2.5 and higher
  • Added gf_inline CSS Ready Class
  • Updated url to GravityWP documentation to add custom CSS buttons to the CSS selector (https://gravitywp.com/doc/add-custom-css-buttons/)
  • Security enhancements

1.0.1

  • Updated url to official Gravity Forms CSS Ready Classes documentation (https://docs.gravityforms.com/css-ready-classes/)

1.0

  • Add gwp_css_selector_add_custom_css filter to add custom css
  • Updated translation files

0.2.2

  • De Gravity PDF pagebread CSS class aangepast
  • gf_invisible CSS class toegevoegd
  • Lijst kolommen en hoogtes gecombineerd naar radioknoppen & checkboxen
  • Aangepaste verwijzingen naar documentatie

0.2.1

  • Pagina ondersteuning voor Gravity PDF toegevoegd
  • Taalbestand bijgewerkt
  • Nederlandse vertaling bijgewerkt

0.2

  • CSS classes voor Gravity PDF (exclude) en Gravity Wiz (Copy Cat) toegevoegd
  • Vormgeving aangepast (documentatie zichtbaar na klik)

0.1

  • Eerste Uitgave
  • Lokalisatie toegevoegd