/** * Listing Category * * @since Listify 1.0.0 * * @return void */ public function the_category() { $types = false; if (!listify_theme_mod('categories-only')) { $types = get_the_term_list(get_post()->ID, 'job_listing_type', '<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">', '<span class="ion-chevron-right"></span>', '</span>'); } $terms = false; if (get_option('job_manager_enable_categories')) { $crumbs = new Listify_Taxonomy_Breadcrumbs(apply_filters('listify_taxonomy_breadcrumbs', array('taxonomy' => 'job_listing_category', 'sep' => '<span class="ion-chevron-right"></span>'))); } ?> <div class="content-single-job_listing-title-category"> <?php if ($types) { ?> <?php echo $types; ?> <span class="ion-chevron-right"></span> <?php } ?> <?php if (!empty($crumbs->crumbs)) { ?> <?php $crumbs->output(); ?> <?php } ?> </div> <?php }
<?php echo get_the_title(); ?> </h1> <h5><?php echo get_the_job_venue(); ?> </h5> <?php $types = false; if (!listify_theme_mod('categories-only')) { $types = get_the_term_list(get_post()->ID, 'job_listing_type', '<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">', '<span class="ion-chevron-right"></span>', '</span>'); } $terms = false; if (get_option('job_manager_enable_categories')) { $crumbs = new Listify_Taxonomy_Breadcrumbs(array('taxonomy' => 'job_listing_category', 'sep' => '<span class="ion-chevron-right"></span>')); } ?> <div class="content-single-job_listing-title-category"> <?php if ($types) { ?> <?php echo $types; ?> <span class="ion-chevron-right"></span> <?php } ?> <?php