Skip to content

Instantly share code, notes, and snippets.

@thedotmack
thedotmack / gist:44a1bca95cc933df84b4
Created July 13, 2015 14:07
Bootstrap 3 Typography Fix
/*
* BOOTSTRAP TYPOGRAPHY SPACING FIX
*/
h1, .h1,
h2, .h2,
h3, .h3 {
margin-bottom: @line-height-computed;
}
h4, .h4,
@thedotmack
thedotmack / Update remote repo
Created December 30, 2016 22:50 — forked from mandiwise/Update remote repo
Transfer repo from Bitbucket to Github
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/
// See also: http://www.paulund.co.uk/change-url-of-git-repository
$ cd $HOME/Code/repo-directory
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
$ git push origin master
$ git remote rm bitbucket
function add_membership_support() {
$labels = array(
'name' => _x( 'DTS Premium', 'post type general name', 'sage' ),
'singular_name' => _x( 'Premium Post', 'post type singular name', 'sage' ),
'menu_name' => _x( 'Premium Posts', 'admin menu', 'sage' ),
'name_admin_bar' => _x( 'Premium Post', 'add new on admin bar', 'sage' ),
'add_new' => _x( 'Add New', 'product', 'sage' ),
'add_new_item' => __( 'Add New Premium Post', 'sage' ),
'new_item' => __( 'New Premium Post', 'sage' ),
'edit_item' => __( 'Edit Premium Post', 'sage' ),