https://github.com/5t3ph/gravity-forms-snippets
Applies bootstrap classes to various fields.
https://github.com/5t3ph/gravity-forms-snippets
Last synced: over 1 year ago
JSON representation
Applies bootstrap classes to various fields.
- Host: GitHub
- URL: https://github.com/5t3ph/gravity-forms-snippets
- Owner: 5t3ph
- License: gpl-2.0
- Created: 2014-08-28T00:58:45.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-04-18T01:08:34.000Z (over 8 years ago)
- Last Synced: 2025-04-16T09:22:55.792Z (over 1 year ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 23
- Watchers: 5
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Gravity Forms Snippets
==========================
A growing repository with simple functions to improve integration of Gravity Forms with WordPress themes.
#### [gravity-forms-bootstrap3-styles.php](https://github.com/5t3ph/gravity-forms-snippets/blob/master/gravity-forms-bootstrap3-styles.php)
- Applies [Bootstrap 3 classes](http://getbootstrap.com/docs/3.3/css/#forms) to _most common_ fields.
- Requires **Bootstrap 3** to be in use by the theme.
- Using this function allows use of Gravity Forms default CSS in conjuction with Bootstrap (benefit for fields types such as Address).
#### [gravity-forms-bootstrap4-styles.php](https://github.com/5t3ph/gravity-forms-snippets/blob/master/gravity-forms-bootstrap4-styles.php)
- Applies [Bootstrap 4 classes](https://getbootstrap.com/docs/4.0/components/forms/#form-controls) to _all_ fields.
- Requires **Bootstrap 4** to be in use by the theme.
- Using this function allows use of Gravity Forms default CSS in conjuction with Bootstrap (benefit for fields types such as Address).