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
############################################################## | |
# How to run local multi-node Kubernetes clusters using kind # | |
# https://youtu.be/C0v5gJSWuSo # | |
############################################################## | |
######### | |
# Setup # | |
######### | |
# Install kind (https://kind.sigs.k8s.io/docs/user/quick-start/#installation) |
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
// Dependencies | |
'use strict'; | |
var gulp = require('gulp'); | |
var path = require('path'); | |
var livereload = require('gulp-livereload'); | |
var sass = require('gulp-sass'); | |
var maps = require('gulp-sourcemaps'); | |
var cleanCSS = require('gulp-clean-css'); | |
var postcss = require('gulp-postcss'); |
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="location-wrapper"> | |
<div class="facets-wrapper"> | |
<?php dynamic_sidebar('location-facet-widget'); ?> | |
<?php echo facetwp_display( 'facet', 'my_search' ); ?> | |
</div> | |
<div class="main-content-wrapper"> | |
<div class="facetwp-template"> | |
<?php |
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 | |
/** | |
* Converts the WooCommerce country codes to 3-letter ISO codes | |
* https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3 | |
* @param string WooCommerce's 2 letter country code | |
* @return string ISO 3-letter country code | |
*/ | |
function kia_convert_country_code( $country ) { | |
$countries = array( | |
'AF' => 'AFG', //Afghanistan |