This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.full-width { | |
& .input-group-btn:last-child > .btn { | |
margin-left: 5px; | |
.border-left-radius(@border-radius-base); | |
} | |
& .form-control:first-child { | |
.border-right-radius(@border-radius-base); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* Bootstrap 3 inline form for Gravity Forms | |
* | |
* Use with a class assigned to the form | |
* or on .gform to affect all Gravity forms | |
* | |
* Example 1 (affects targeted form class only): .my-form-class { &:extend(.gravity_form_inline all); } | |
* | |
* Example 2 (affects all Gravity Forms): .gform { &:extend(.gravity_form_inline all); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* Bootstrap 3 input group form for Gravity Forms | |
* | |
* Use with a class assigned to the form | |
* or on .gform to affect all Gravity forms | |
* | |
* Example 1 (affects targeted form class only): .my-form-class { &:extend(.gravity_form_input_group all); } | |
* | |
* Example 2 (affects all Gravity Forms): .gform { &:extend(.gravity_form_input_group all); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* Bootstrap 3 reset for Gravity Forms | |
* | |
*/ | |
.gform_wrapper { | |
ul { | |
&:extend(.list-unstyled all); | |
margin: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* Bootstrap 3 inline form for Contact Form 7 | |
* | |
* In the shortcode, you must use html_id="my-id" | |
* or html_class="my-class" to target a specific form | |
* | |
* Actual form sample: | |
* <label for="your-email">Email:</label> | |
* [email* your-email 0/ placeholder "enter your email"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* Bootstrap 3 inline form *full width* for CF7 | |
* | |
* In the shortcode, you must use html_id="my-id" | |
* or html_class="my-class" to target a specific form | |
* | |
* Actual form sample: | |
* <label for="your-email">Email:</label> | |
* [email* your-email 0/ placeholder "enter your email"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('gform_confirmation_anchor', '__return_false'); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function localize_ajax_variables() { | |
wp_localize_script('your_js', 'wp_ajax_vars', array( | |
'admin_url' => admin_url('admin-ajax.php') | |
)); | |
} | |
add_action('wp_enqueue_scripts', 'localize_ajax_variables', 999); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grunt.initConfig({ | |
mysql: grunt.file.readJSON('mysql.json'), | |
timestamp: grunt.template.today('mm-dd-yyyy_HH-MM-ss'), | |
sshexec: { | |
dump_remote_db: { | |
options: { | |
host: '<%= mysql.remote.host %>', | |
username: '<%= mysql.remote.username %>', | |
agent: process.env.SSH_AUTH_SOCK | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function populate_gravity_forms($field) { | |
if(class_exists('RGFormsModel')) { | |
$forms_array = array(); | |
$forms = RGFormsModel::get_forms(null, 'title'); | |
foreach($forms as $form) { | |
$forms_array[$form->id] = $form->title; |