Skip to content

Instantly share code, notes, and snippets.

Scott Rod djmtype

Block or report user

Report or block djmtype

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
djmtype / acf-responsive-image.php
Last active Sep 25, 2018
ACF Responsive Image
View acf-responsive-image.php
$image = get_field('my_image');
if( !empty($image) ):
// vars
$size = 'large';
$url = $image['url'];
djmtype / cf7-validation.js
Last active Jun 16, 2017
Contact Form 7 validation
View cf7-validation.js
on_submit: "$(document).ajaxComplete(function() {$('#modalResponse').modal({backdrop: 'static', keyboard: false});$('#modalResponse .modal-body').html('<div class="alert alert-danger"><p>'+data.message+'</p></div>');}); $('.wpcf7-response-output').ajaxComplete(function(){$(this).delay(3000).fadeOut('slow');});"
djmtype / gulpfile.js
Last active Apr 10, 2016
Sage Gulpfile with Bless
View gulpfile.js
// ## Globals
var argv = require('minimist')(process.argv.slice(2));
var autoprefixer = require('gulp-autoprefixer');
var browserSync = require('browser-sync').create();
var changed = require('gulp-changed');
var concat = require('gulp-concat');
var flatten = require('gulp-flatten');
var gulp = require('gulp');
var gulpif = require('gulp-if');
var imagemin = require('gulp-imagemin');
You can’t perform that action at this time.