This is my own interpretation of how I like to work, feedback welcome! Especially if my own view of how I think I like to work doesn't match your experience of how it seems I like to work!
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 | |
// Various links | |
// https://serverfault.com/questions/488767/how-do-i-enable-php-s-flush-with-nginxphp-fpm | |
// https://stackoverflow.com/questions/72394213/nginx-configuration-for-server-sent-event | |
// https://serverfault.com/questions/801628/for-server-sent-events-sse-what-nginx-proxy-configuration-is-appropriate | |
// https://qiita.com/okumurakengo/items/cbe6b3717b95944083a1 (in Japanese) | |
// If '?SSE' is set, send Server-Sent events, otherwise we'll display the page. | |
if ( isset( $_GET['SSE'] ) ) { |
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
/** | |
* Plugin Name: Gravity Forms: Move Progress Bar to Bottom of Form | |
* Plugin URI: http://www.n7studios.co.uk | |
* Version: 1.0.1 | |
* Author: n7 Studios | |
* Author URI: http://www.n7studios.co.uk | |
* Description: Moves the progress bar from the top to the bottom of the Gravity Form. The Start Paging section of the form MUST have a CSS class = progress-bar-bottom | |
*/ | |
/** |
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
.gpfup-big-images .gpfup__files { | |
display: flex; | |
flex-wrap: wrap; | |
border: 0; | |
padding: 0; | |
box-shadow: none; | |
margin: 0 -0.5rem; | |
} | |
.gpfup-big-images .gpfup__file { |
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 | |
/** | |
* WARNING! THIS SNIPPET MAY BE OUTDATED. | |
* The latest version of this snippet can be found in the Gravity Wiz Snippet Library: | |
* https://github.com/gravitywiz/snippet-library/blob/master/gp-populate-anything/gppa-populate-child-entries.php | |
*/ | |
/** | |
* Gravity Perks // Populate Anything // Populate Child Entries | |
* | |
* Populate child entries from a Nested Form field into any multi-choice field. |
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
// New Markup | |
<div id="gform_fields_893" class="gform_fields top_label form_sublabel_below description_below"> | |
<fieldset id="field_893_4" class="gfield field_sublabel_below field_description_below gfield_visibility_visible"> | |
<legend class="gfield_label gfield_label_before_complex">Name C</legend> | |
<div class="ginput_complex ginput_container no_prefix has_first_name no_middle_name has_last_name no_suffix gf_name_has_2 ginput_container_name" id="input_893_4"> | |
<span id="input_893_4_3_container" class="name_first"> | |
<input type="text" name="input_4.3" id="input_893_4_3" value="" aria-label="First name" aria-required="false"> | |
<label for="input_893_4_3">First</label> | |
</span> |
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 | |
/** | |
* WARNING! THIS SNIPPET MAY BE OUTDATED. | |
* The latest version of this snippet can be found in the Gravity Wiz Snippet Library: | |
* https://github.com/gravitywiz/snippet-library/blob/master/gravity-forms/gw-choice-counter.php | |
*/ | |
/** | |
* Gravity Wiz // Gravity Forms // Choice Counter | |
* | |
* Get the total number of checkboxes checked or multi-select options selected. Useful when wanting to apply conditional |
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 | |
/** | |
* Gravity Perks // Populate Anything // Replace Merge Tags in Specific Context | |
* http://gravitywiz.com/documentation/gravity-forms-nested-forms/ | |
* | |
* @video https://www.loom.com/share/d626a60769ee48579b6f426a677918a3 | |
* | |
* This snippet allows you to replace a merge tag in the context of an entry selected in a GPPA-populated field. For | |
* example, if you populate a Drop Down field with entries and then have an HTML field which includes the {all_fields} | |
* merge tag, you could use the context modifier to specify that Drop Down field as the context like so: |
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 | |
/** | |
* WARNING! THIS SNIPPET MAY BE OUTDATED. | |
* The latest version of this snippet can be found in the Gravity Wiz Snippet Library: | |
* https://github.com/gravitywiz/snippet-library/blob/master/gp-nested-forms/gpnf-triggered-population.php | |
*/ | |
/** | |
* Gravity Perks // Nested Forms // Add Child Entry on Trigger | |
* | |
* Auto-add a child entry to a Nested Form field, created with data from your parent form. This is useful when wanting |
NewerOlder