Skip to content

Instantly share code, notes, and snippets.

View ejntaylor's full-sized avatar
🚢
Shipping

Elliot ejntaylor

🚢
Shipping
View GitHub Profile
//add placeholder for subscribe form
$(".widget_ns_mailchimp input").focus(function(){
showEmptyLabels();
$(this).siblings("label").stop().fadeOut();
});
$(".widget_ns_mailchimp input").blur(function(){
showEmptyLabels();
});
$(".widget_ns_mailchimp label").bind("click", function() {
$(this).siblings("div").find("input, textarea").focus();
<?php
/**
* Plugin Name: WooCommerce VAT
* Plugin URI: http://raison.co/
* Description: Adds VAT at 20% to products on shop and archive pages
* Author: raisonon
* Author URI: http://www.raison.co/
* Version: 1.1
* License: GPLv2 or later
*/
@ejntaylor
ejntaylor / 0_reuse_code.js
Created October 4, 2013 15:00
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console