FacetWP – custom Listify template

mgibbs189

{{gist file=”functions.php” lang=”php”}}
<?php

if ( have_posts() ) {
while ( have_posts() ) {
the_post();
get_template_part( ‘content’, ‘job_listing’ );
}
} else {
echo ‘<li class=”col-xs-12″>’;
get_template_part( ‘content’, ‘no-jobs-found’ );
echo ‘</li>’;
}

{{/gist}}