while (have_posts()) { the_post(); ?> <div class='row mt44'> <div class='large-12 small-12 columns'> <div id='siteContent'> <div class='row'> <?php if (bsh_show_title()) { ?> <div class='columns large-12 small-12 mb22'> <?php if (property_has_taxonomy_type(0, 'type', array('apartment-building', 'apartment-floorplan', 'apartment-complex'))) { show_breadcrumb(); } else { ?> <div class="page-title"> <?php echo do_shortcode('[title icon="none"]' . the_title('', '', false) . '[/title]'); ?> </div> <?php } ?> </div> <?php } ?>
function is_property_a_floorplan($post_id = 0) { return property_has_taxonomy_type($post_id, 'type', 'apartment-floorplan'); }