Gravity Forms Helper
Misc Gravity Forms Settings/etc Improvements
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/gblessylva/gf-addon/archive/refs/heads/master.zipMisc Gravity Forms Settings/etc Improvements
Description
Various minor changes to GF behavior that I was tired of encorporating into various other plugins I've written, so I decided to build them into a single GFAddOn.
The most useful of these changes provides a UI for adding scripts and styles (from other plugins) to GF's non-conflict lists. See Forms > Settings > GF Helper.
We also add Yes/No pre-defined choices. That is, when editing a form, for any field type that has choices (e.g., radio, select, list), when you click on Bulk Add / Predefined Choices, you can add easily add 'Yes' and 'No' choices.
Installation
From your WordPress dashboard
- Go to Plugins > Add New and click on Upload Plugin
- Upload the zip file
- Activate the plugin
Build from sources
- clone the global repo to your local machine
- install node.js and npm (instructions)
- install composer (instructions)
- run
npm install - run
composer install - run
grunt build
Useful tasks that are defined in Gruntfile.js
grunt precomit- runs phpcs (with modified WPCS) and jshint
- always run this...and correct any errors...before committing anything
grunt package- builds a new release package
- this will minify CSS/JS, update the plugin version number/description/name/etc from the info in package.js and then produce a zip package
grunt autoload- rebuilds the Composer autoloader. Useful if/when you add a new PHP class to the plugin
Changelog
0.3.1 (2021-11-06)
-
Enhancments
- Added an uninstall.php. Currently it's a no-op, it's just to bring this plugin in conformance with other plugins we write that do need it
- i18n: added full localization support (i.e., load our text domain for
__()et al) - Minor WPCS changes, including a few DocBlock updates
-
Misc
- Improved this readme.txt
0.3.0 (2021-07-30)
-
Enhancements
- Added CSS that allows
<ol type='a'>and<ol type='i'>in field descriptions to render correctly in the form editor - Improve i18n aspects of form settings strings
- Added CSS that allows
-
Misc
- Removed unused code
0.2.1 (2021-03-29)
Unknown changes.
0.1.0
- init commit