I hereby claim:
- I am tnorthcutt on github.
- I am tnorthcutt (https://keybase.io/tnorthcutt) on keybase.
- I have a public key whose fingerprint is BB70 0712 BEE1 724F 4790 F84F ACFD 9A82 F3EE 95F3
To claim this, I am signing this object:
jQuery(document).ready(function($) { | |
$('input#choice_13_1').click(function() { | |
if($(this).is(':checked')) { | |
$('#input_2_12_1').val($('#input_2_2_1').val()); | |
$('#input_2_12_2').val($('#input_2_2_2').val()); | |
$('#input_2_12_3').val($('#input_2_2_3').val()); | |
$('#input_2_12_4').val($('#input_2_2_4').val()); | |
$('#input_2_12_5').val($('#input_2_2_5').val()); | |
}; | |
}); |
<?php | |
// Nav Menu Dropdown Class | |
include_once( CHILD_DIR . '/lib/classes/nav-menu-dropdown.php' ); | |
/** | |
* Mobile Menu | |
* | |
*/ | |
function be_mobile_menu() { |
<?php | |
function ba_header_image() { | |
if ( !has_post_thumbnail() ) return; //don't do anything if there's no featured image | |
global $post; | |
$post_thumbnail_id = get_post_thumbnail_id(); | |
$post_thumbnail_url = wp_get_attachment_image_src( $post_thumbnail_id, 'ba_header_image' ); |
/* | |
*In Chrome, add a new search engine (Settings -> Search -> Manage Search Engines), with 'p' as the keyword, | |
* and the following snippet in the url field. To use, press cmd/ctrl+l, type 'p', then enter. You should see a | |
* new window where you can save the bookmark in pinboard. Enjoy! | |
*/ | |
javascript:q=location.href;if(document.getSelection)%7Bd=document.getSelection();%7Delse%7Bd='';%7D;p=document.title;void(open('https://pinboard.in/add?url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,width=700,height=350')); |
@media only screen and (max-width:767px){.container{width:300px;}#single{width: 100%} |
<?php | |
// These are just two examples | |
// Uses anonymous functions since these are for one-time use | |
// Short-circuit genesis_get_option to show thumbnails | |
add_filter( 'genesis_pre_get_option_content_archive_thumbnail', function() { | |
return 1; // 1 shows thumbnails | |
} ); |
<?php | |
add_action( 'genesis_after_entry_content', 'genesis_do_post_title', 20 ); | |
add_action( 'genesis_after_entry_content', 'ehr_do_post_subtitle', 21 ); | |
genesis(); |
<?php | |
add_filter( 'get_the_content_limit_allowedtags', 'ehr_content_limit_allowed_tags' ); | |
function ehr_content_limit_allowed_tags($tags) { | |
$tags .= '<a>'; | |
return $tags; | |
} |
I hereby claim:
To claim this, I am signing this object: