Skip to content

Instantly share code, notes, and snippets.

View davidshq's full-sized avatar

Dave Mackey davidshq

View GitHub Profile
static void Main(string[] args)
{
ApiClient test = new ApiClient("churchApiKey", "username", "password");
var person = test.People.Individuals.Get(2, true);
var Person = new Individual()
{
FirstName = person.FirstName,
LastName = person.LastName,
<?php
function modify_wp_vimeo_embeds( $html ) {
if ( false !== strpos( $html, 'vimeo' ) ) {
preg_match( '/src="([^"]+)"/', $html, $match );
$src = $match[1];
$html = str_replace( $src, add_query_arg( array(
'title' => 0,
@atomtigerzoo
atomtigerzoo / wordpress-disable-yoast-seo-on-custom-post-type.php
Created March 31, 2016 12:39
Wordpress: Disable Yoast SEO on Custom Post Type
function my_remove_wp_seo_meta_box() {
remove_meta_box('wpseo_meta', YOUR_POST_TYPE_NAME_HERE, 'normal');
}
add_action('add_meta_boxes', 'my_remove_wp_seo_meta_box', 100);