// add the magnific popup js library and accompanying css
function aor_add_magnific() {
wp_enqueue_style( 'magnific-css', get_template_directory_uri() . '/assets/scripts/magnific/magnific.css' );
wp_enqueue_script( 'magnific-js', get_template_directory_uri() . '/assets/scripts/magnific/magnific.min.js', array(), '1.0', true );
}
// add the slick slider js library and accompanying css
function aor_add_slick() {
wp_enqueue_style( 'slick-css', get_template_directory_uri() . '/assets/scripts/slick/slick.css' );
wp_enqueue_script( 'slick-js', get_template_directory_uri() . '/assets/scripts/slick/slick.min.js', array(), '1.0', true );
}
// add the wow.js animation library
function aor_add_wow() {
wp_enqueue_style( 'animate-css', get_template_directory_uri() . '/assets/scripts/wow/animate.min.css' );
wp_enqueue_script( 'wow-js', get_template_directory_uri() . '/assets/scripts/wow/wow.min.js', array(), '1.0', true );
add_action( 'wp_footer', 'aor_init_wow', 10000 );
}
function aor_init_wow() {
?>
}
// add the isotope.js filtering library
function aor_add_isotope() {
wp_enqueue_script( 'isotope-js', get_template_directory_uri() . '/assets/scripts/isotope/isotope.min.js', array(), '1.6.0', true );
}
?>
Featured Projects | Commercial HVAC | Air Control Systems
if (get_sub_field('sub_headline') ) : ?>
the_sub_field('sub_headline'); ?>
endif; ?>
if ( get_sub_field('headline') ) : ?>
the_sub_field('headline'); ?>
endif; ?>
$queryArray = array(
'post_type' => 'project',
'posts_per_page' => -1
);
?>
$loop = new WP_Query( $queryArray ); ?>
if ( $loop->have_posts() ) : ?>
$counter = 1; ?>
while ( $loop->have_posts() ) : $loop->the_post(); ?>
if ( $counter !== 1 ) :
echo " | ";
endif; ?>
the_title(); ?>
$counter++; ?>
endwhile; ?>
endif; ?>
wp_reset_postdata(); ?>
$queryArray = array(
'post_type' => 'project',
'posts_per_page' => -1
);
?>
$loop = new WP_Query( $queryArray ); ?>
if ( $loop->have_posts() ) : ?> while ( $loop->have_posts() ) : $loop->the_post(); ?>
$image = get_field('gallery');
$image = $image[0]['sizes']['award'];
?>
endwhile; ?>
endif; ?>
wp_reset_postdata(); ?>
"They never let us down—no matter how unreasonable a request might seem, they deliver."
- Debbie Kimberlin, Sr. Property Mgr at Warland Property Co.
Submit Your Own