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
/** | |
* Change the name of the search form from s to fwp_resource_search | |
*/ | |
function my_query_vars( $public_query_vars ) { | |
if ( isset( $_GET['fwp_resource_search'] ) && ! empty( $_GET['fwp_resource_search'] ) ) { | |
$_GET['s'] = $_GET['fwp_resource_search']; | |
} | |
return $public_query_vars; | |
} |
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
// install | |
// npm i gulp-imagemin imagemin-jpeg-recompress imagemin-pngquant imagemin-zopfli imagemin-mozjpeg -f | |
var imagemin = require('gulp-imagemin'); | |
var imageminPngquant = require('imagemin-pngquant'); | |
var imageminZopfli = require('imagemin-zopfli'); | |
var imageminMozjpeg = require('imagemin-mozjpeg'); //need to run 'brew install libpng' | |
var imageminJpegRecompress = require('imagemin-jpeg-recompress'); | |
gulp.task('imagemin', function() { |
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
Kiosk | |
User Button | |
Inactive* | |
Touch -> Check In | |
Check In | |
Write Timestamp to Database -> Checked In | |
Checked In | |
Touch -> Check Out |
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
@import url(//fonts.googleapis.com/css?family=Karla); | |
svg { | |
font-family: Karla; | |
} | |
.axis path, | |
.axis line { | |
fill: none; | |
stroke: #000; |