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 | |
$servicesCpt = new WP_Query(array( | |
'posts_per_page' => -1, | |
'post_type' => 'teamMembers', | |
'orderby' => 'title', | |
'order' => 'DESC' | |
) | |
); | |
if ($servicesCpt->have_posts()) { ?> | |
<?php |
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
// Equalize column heights on BS3 version using JS | |
// https://stackoverflow.com/questions/23287206/same-height-column-bootstrap-3-row-responsive | |
// EXAMPLE: | |
// Equalize heights on BS4 cards | |
$( document ).ready(function() { | |
var heights = $(".card").map(function() { | |
return $(this).height(); | |
}).get(), | |
maxHeight = Math.max.apply(null, heights); |
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
.mr-10 { | |
margin-right: 10px; | |
} | |
.mr-20 { | |
margin-right: 20px; | |
} | |
.mr-30 { | |
margin-right: 30px; | |
} | |
.mr-40 { |
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
/* Boostrap 4.1.3 breakpoints for page widths */ | |
/* Extra small devices (portrait phones, less than 576px) | |
* No media query since this is the default in Bootstrap | |
* | |
* postcss-mixins: https://www.npmjs.com/package/postcss-mixins | |
*/ | |
/* Small devices (landscape phones, 576px and up) */ | |
@define-mixin sm_up { | |
@media (min-width: 576px) { | |
@mixin-content; |
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 | |
$loop = new WP_Query( array( | |
'post_type' => 'Property', | |
'posts_per_page' => -1 | |
) | |
); | |
?> | |
<?php while ( $loop->have_posts() ) : $loop->the_post(); ?> |
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
var gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
rename = require('gulp-rename'), | |
cssmin = require('gulp-cssnano'), | |
prefix = require('gulp-autoprefixer'), | |
plumber = require('gulp-plumber'), | |
notify = require('gulp-notify'), | |
sassLint = require('gulp-sass-lint'), | |
sourcemaps = require('gulp-sourcemaps'); | |
// Temporary solution until gulp 4 |
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 (has_excerpt()) { | |
echo get_the_excerpt(); | |
} else { | |
echo wp_trim_words(get_the_content(), 18); | |
}?> |
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
+.wpcf7-form { | |
+ @include breakpoint(md) { | |
+ max-width: 600px; | |
+ margin-left: auto; | |
+ margin-right: auto; | |
+ } | |
+ p { | |
+ label { | |
+ width: 100%; | |
+ font-weight: bold; |
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
/* | |
* Go to Settings > Themes > your stylesheet, and add the following | |
*/ | |
@line-height: 2em; | |
.tree-view { | |
} |
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
.container{ | |
width: 100%; | |
max-width: 1200px; | |
margin: 0 auto; | |
} | |
/*-- our cleafix hack -- */ | |
.row:before, | |
.row:after { | |
content:""; |
NewerOlder