This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin rem( $property, $a:0, $b:$a, $c:$a, $d:$b ) { | |
@if ( $property == "font-size" ) { | |
// $a is the font size | |
// %b is the keyword | |
@if ( $a != $b ) { | |
font-size: $b; | |
} | |
@else { | |
font-size: $a * $base-font-multiplier * 16px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We use this to vertically center block elements | |
.vertical-center { | |
&:before { | |
content: ''; | |
display: inline-block; | |
height: 100%; | |
vertical-align: middle; | |
margin-right: -0.25em; /* Adjusts for spacing */ | |
} | |
div { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The base configurations of the WordPress. | |
* | |
* This file has the following configurations: MySQL settings, Table Prefix, | |
* Secret Keys, WordPress Language, and ABSPATH. You can find more information | |
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing | |
* wp-config.php} Codex page. You can get the MySQL settings from your web host. | |
* | |
* This file is used by the wp-config.php creation script during the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(isset($_POST['email'])) { | |
// EDIT THE 2 LINES BELOW AS REQUIRED | |
$email_to = "[email protected]"; | |
$email_subject = "Email Subject line"; | |
function died($error) { | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create Beanstalk Repository | |
printf "git\n \n" | /Users/avclark/beanstalk repo:create {query} | |
# Create our new project directory | |
cd ~/desktop && mkdir {query} && cd {query} | |
# Clone our HTML-Base repo from Github | |
git clone https://github.com/avclark/HTML-Base.git | |
# Cleanup directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
register_post_type('floorplans', array( | |
'label' => __('Floorplans'), | |
'singular_label' => __('Floorplans'), | |
'public' => true, | |
'show_ui' => true, | |
'capability_type' => 'post', | |
'hierarchical' => false, | |
'rewrite' => true, | |
'query_var' => false, | |
'supports' => array('title', 'editor', 'author'), |
NewerOlder