Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
When setting these options consider the following:
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log
/********** THIS SECTION INCLUDES FIXES FOR WOOCOMMERCE 8.4.0 **********/ | |
/* Add Checkmark on ATC Button After Added */ | |
.woocommerce #respond input#submit.added::after, .woocommerce a.button.added::after, .woocommerce button.button.added::after, .woocommerce input.button.added::after { | |
font-family: WooCommerce; | |
content: "\e017"; | |
margin-left: 0.53em; | |
vertical-align: bottom; | |
} |
<?php | |
/* | |
Plugin Name: UTF8mb4-convert | |
Version: 1.0 | |
*/ | |
function update_db_to_utf8mb4() { | |
if ( ! isset( $_GET['update-utf8bm4'] ) ) { | |
return; | |
} |
<?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-submission-limit.php | |
*/ | |
/** | |
* Gravity Wiz // Gravity Forms // Limit Submissions Per Time Period (by IP, User, Role, Form URL, or Field Value) | |
* | |
* Limit the number of times a form can be submitted per a specific time period. You modify this limit to apply to |
(function( $ ) { | |
$.fn.photoswipe = function(options){ | |
var galleries = [], | |
_options = options; | |
var init = function($this){ | |
galleries = []; | |
$this.each(function(i, gallery){ | |
galleries.push({ | |
id: i, |
<?php | |
/** | |
* Gravity Wiz // Gravity Forms // Map Submitted Field Values to Another Field | |
* | |
* Usage | |
* | |
* 1 - Enable "Allow field to be populated dynamically" option on field which should be populated. | |
* 2 - In the "Parameter Name" input, enter the merge tag (or merge tags) of the field whose value whould be populated into this field. | |
* | |
* Basic Fields |
body { | |
--base: 20; | |
--scale-headings: 1.44; | |
--scale-mobile: 0.7; | |
--scale-mobile-headings: 0.4; | |
--scale-icons: 1.4; | |
--min-viewport: 480; | |
--max-viewport: 1600; | |
--max-size: var(--base); | |
} |
add_filter( 'script_loader_tag', 'yankiara_defer_scripts', 10, 3 ); | |
function yankiara_defer_scripts( $tag, $handle, $src ) { | |
$defer = array( 'script-handle-1', 'script-handle-2', 'script-handle-3' ); | |
if ( in_array( $handle, $defer ) ) | |
return '<script src="' . $src . '" defer="defer" type="text/javascript"></script>' . "\n"; | |
return $tag; | |
} |