I hereby claim:
- I am rjgrazioli on github.
- I am rjgrazioli (https://keybase.io/rjgrazioli) on keybase.
- I have a public key whose fingerprint is 53A9 24FF 8318 1F41 D2E4 675F 3404 533C A249 CF6C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* COMBINED BOOTSTRAP AND CUSTOM VARIABLES */ | |
@import "variables"; | |
/* STANDARD BOOTSTRAP MODULES */ | |
@import "../bower/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins"; | |
@import "../bower/bootstrap-sass-official/assets/stylesheets/bootstrap/normalize"; | |
@import "../bower/bootstrap-sass-official/assets/stylesheets/bootstrap/print"; | |
@import "../bower/bootstrap-sass-official/assets/stylesheets/bootstrap/glyphicons"; |
function bleed_image($thumb,$ideal_width,$ideal_height) { | |
/* container dimensions */ | |
$c_width = $ideal_width; | |
$c_height = $ideal_height; | |
$c_ratio = $ideal_width/$ideal_height; | |
/* thumb dimensions */ | |
list($width, $height, $type, $attr) = getimagesize($thumb); | |
$ratio = $width/$height; |
add_action( 'init', 'create_post_types' ); | |
function create_post_types() { | |
register_post_type( 'cows', | |
array( | |
'labels' => array( | |
'name' => __( 'Cows' ), | |
'singular_name' => __( 'Cow' ) | |
), | |
'public' => true, |