I hereby claim:
- I am mattie02 on github.
- I am mattie02 (https://keybase.io/mattie02) on keybase.
- I have a public key whose fingerprint is 2AC3 D6A0 AC91 FA37 4F12 89F2 58D1 66A0 F981 E59D
To claim this, I am signing this object:
<?php | |
/* Add Image Upload to Series Taxonomy */ | |
// Add Upload fields to "Add New Taxonomy" form | |
function add_series_image_field() { | |
// this will add the custom meta field to the add new term page | |
?> | |
<div class="form-field"> | |
<label for="series_image"><?php _e( 'Series Image:', 'journey' ); ?></label> |
function resultsLoop($content = null) { | |
global $wp_query; | |
$temp = $wp_query; | |
$wp_query= null; | |
$mypost = array( | |
'post_type' => 'result', | |
'orderby' => 'menu_order', | |
'posts_per_page' => '-1', | |
'order' => 'ASC' |
/*================================================== | |
= Bootstrap 3 Media Queries = | |
==================================================*/ | |
/*========== Mobile First Method ==========*/ |
.maps iframe{ | |
pointer-events: none; | |
} | |
jQuery( document ).ready(function($) { | |
$('.maps').click(function () { | |
$('.maps iframe').css("pointer-events", "auto"); | |
}); | |
}); |
<?php | |
function getWorkingDays($startDate,$endDate,$holidays) { | |
// do strtotime calculations just once | |
$endDate = strtotime($endDate); | |
$startDate = strtotime($startDate); | |
//The total number of days between the two dates. We compute the no. of seconds and divide it to 60*60*24 | |
//We add one to inlude both dates in the interval. | |
$days = ($endDate - $startDate) / 86400 + 1; |
<?php | |
/** | |
* Plugin Name: WooCommerce Remove Billing Fields for Free Virtual Products | |
* Plugin URI: https://gist.github.com/BFTrick/7873168 | |
* Description: Remove the billing address fields for free virtual orders | |
* Author: Patrick Rauland | |
* Author URI: http://patrickrauland.com/ | |
* Version: 1.0 | |
* | |
* This program is free software: you can redistribute it and/or modify |
if(class_exists( 'Super_Custom_Post_Type' )){ | |
add_action( 'after_setup_theme','trusted_page_sup' ); | |
function trusted_page_sup() { | |
if ( isset( $_GET['post'] ) ) | |
$post_id = $_GET['post']; | |
elseif ( isset( $_POST['post_ID'] ) ) | |
$post_id = $_POST['post_ID']; | |
else | |
$post_id = get_the_ID(); |
I hereby claim:
To claim this, I am signing this object: