Skip to content

Instantly share code, notes, and snippets.

Craig Wayne craigiswayne

Block or report user

Report or block craigiswayne

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
View Animated-Clouds.markdown
View Vertical-Aignment.markdown
View Drag And Drop Example .markdown

Drag And Drop Example

Quick demo to show Drag and Drop states using: html css javascript (js) jquery

A Pen by Craig Wayne on CodePen.

View Pure CSS Chalkboard.markdown
View which_php.sh
php -i | grep /php.ini;
View image-upload-preview.markdown

Image Upload Preview

Image Upload Preview gist using UIKit 3, Javascript and HTML File Input Element

A Pen by Craig Wayne on CodePen.

License.

@craigiswayne
craigiswayne / init.sh
Created Jun 5, 2017
Manage your json file data via a grunt task
View init.sh
##
# Work in Progress
##
npm init
npm install grunt --save-dev
npm install grunt-update-json@0.2.2 --save-dev
npm install matchdep@1.0.1 --save-dev
touch Gruntfile.js
touch manifest.json
@craigiswayne
craigiswayne / functions.php
Created Jun 6, 2017
WordPress Starter Content and Theme Support
View functions.php
<?php
/**
* @see https://roots.io/using-and-customizing-wordpress-starter-content/
*/
add_action( 'after_setup_theme', function () {
add_theme_support( 'starter-content', [
'options' => [
'show_on_front' => 'page',
'page_on_front' => '{{home}}',
@craigiswayne
craigiswayne / CW_Comments_Recaptcha.php
Created Jun 8, 2017
WordPress Comments Recaptcha
View CW_Comments_Recaptcha.php
<?php
/**
* Class CWP_Comments_Recaptcha
* Allows you to add recaptcha to WordPress Comments
*/
class CW_Comments_Recaptcha {
const js_url = 'https://www.google.com/recaptcha/api.js';
You can’t perform that action at this time.