Skip to content

Instantly share code, notes, and snippets.

Pat Ramsey ramseyp

Block or report user

Report or block ramseyp

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
@ramseyp
ramseyp / 0_reuse_code.js
Created Dec 19, 2013
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@ramseyp
ramseyp / custom-menu-metabox-field.php
Created Apr 17, 2012
Allow choosing of a custom menu and saving that value as postmeta
View custom-menu-metabox-field.php
<?php
/**
* Show custom menus as select list
* For use with CMB for WP: https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress/wiki/Adding-your-own-field-types
* @author Travis Northcutt
* @link https://gist.github.com/2284508
*
* @param array $field
* @param string $meta
You can’t perform that action at this time.