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
$sizes_1: ( | |
sm: 768px, | |
md: 1024px, | |
lg: 1200px, | |
xl: 1600px, | |
gutter: 48px | |
); | |
$sizes_2: ( | |
sm: 768, |
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
$sizes_1: ( | |
sm: 768px, | |
md: 1024px, | |
lg: 1200px, | |
xl: 1600px, | |
gutter: 48px | |
); | |
$sizes_2: ( | |
sm: 768, |
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
$sizes_1: ( | |
sm: 768px, | |
md: 1024px, | |
lg: 1200px, | |
xl: 1600px, | |
gutter: 48px | |
); | |
$sizes_2: ( | |
sm: 768, |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Page</title> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<script> | |
$(document).ready(function(){ | |
var url = window.location.pathname; | |
var filename = url.substring(url.lastIndexOf('/')+1); | |
$("html").addClass( filename.split('.')[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
<?php | |
add_filter('ac/column/value', 'ac_product_img_lazy_loading', 10, 3 ); | |
add_action('admin_footer', 'ac_product_img_lazy_loading_script'); | |
function ac_product_img_lazy_loading( $value, $id, $column ) { | |
if ( $column instanceof ACA\ACF\Column ) { | |
$acf_type = $column->get_acf_field_option( 'type' ); // Get the ACF field type | |
$acf_value = $column->get_raw_value( $id ); |
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('ac/column/value', 'ac_product_img_lazy_loading', 10, 3 ); | |
add_action('admin_footer', 'ac_product_img_lazy_loading_script'); | |
function ac_product_img_lazy_loading( $value, $id, $column ) { | |
// if the column is custom field instance | |
if ( $column instanceof ACP\Column\CustomField ) { |
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
[ | |
-0.7279565557837485, | |
51.89562541071972 | |
], | |
[ | |
-0.7281872257590294, | |
51.89547665114061 | |
], | |
[ | |
-0.7290029525756836, |
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
/** | |
* @description Gravity Forms SASS overides inconjunction with Jay Hoffmann's add_bootstrap_container_class | |
* | |
* @author Jay Hoffmann (modified by Josh Cranwell) | |
* | |
* @source https://jayhoffmann.com/using-gravity-forms-bootstrap-styles/ | |
* | |
* @instructions | |
* - Gravity Form settings: HTML 5 [true], CSS OUTPUT [false]. | |
* - Repsonsive column classes must be added to each field in the admin to control inputs .col-[screen-size]-[column-count] |
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
<div class="container-fluid"> | |
<div class="page-header"> | |
<h1 class="fw-300">Lord of the lady dancers</h1> | |
</div> | |
<div class="page-header"> | |
<h1 class="fw-300">Lord of the lady dancers</h1> | |
</div> | |
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 | |
// results generator | |
function node_modify_riders_array($rider_id) | |
{ | |
$fields = get_field("rider_series_data", $rider_id); | |
foreach($fields as $field_key => $field_val) | |
{ | |
$new_fields[$field_val["series"]] = $field_val; |