| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <?php
- /**
- * The template for displaying job content in list view within loops.
- *
- * Override this template by copying it to yourtheme/simple_job_board/content-job-listing-list-view.php
- *
- * @author PressTigers
- * @package Simple_Job_Board
- * @subpackage Simple_Job_Board/Templates
- * @version 2.0.0
- * @since 2.2.0
- * @since 2.2.3 Added @hook sjb_job_listing_heading_after.
- * @since 2.3.0 Added "sjb_list_view_template" filter.
- * @since 2.4.0 Revised whole HTML template
- */
- ob_start();
- global $post;
- /**
- * Fires before job listing on job listing page.
- *
- * @since 2.2.0
- */
- do_action('sjb_job_listing_list_view_before');
- ?>
- <!-- Start Jobs List View
- ================================================== -->
- <div class="list-data">
-
- <!-- Jobs List view header -->
- <header>
- <div class="row">
- <?php
- /**
- * Template -> Logo:
- *
- * - Company Logo
- */
- get_simple_job_board_template('listing/list-view/logo.php');
-
- $class = ( 'logo-detail' === get_option( 'job_board_listing' ) || 'without-detail' === get_option( 'job_board_listing' ) )?
- 'col-md-11 col-sm-10':'col-md-12 col-sm-10';
- ?>
- <div class="<?php echo $class; ?>">
- <div class="row">
-
- <?php
- /**
- * Template -> Job Title & Company Name:
- *
- * - Job Title
- * - Company Name
- */
- get_simple_job_board_template('listing/list-view/job-title-company.php');
-
- /**
- * Template -> Type:
- *
- * - Job Type
- */
- get_simple_job_board_template('listing/list-view/type.php');
-
- /**
- * Template -> Posted Date:
- *
- * - Job Posted Date
- */
- get_simple_job_board_template('listing/list-view/posted-date.php');
- ?>
- </div>
- <div class="clearfix"></div>
- <div class="job_location">
- <?php
- /**
- * Template -> Location:
- *
- * - Job Location
- */
- get_simple_job_board_template('listing/list-view/location.php');
- ?>
- </div>
- </div>
- </div>
- </header>
- <?php
- /**
- * Template -> Short Description:
- *
- * - Job Description
- */
- get_simple_job_board_template('listing/list-view/short-description.php');
- ?>
- </div>
- <!-- ==================================================
- End Jobs List View -->
- <div class="clearfix"></div>
- <?php
- /**
- * Fires after job listing on job listing page.
- *
- * @since 2.2.0
- */
- do_action('sjb_job_listing_list_view_after');
- $html_list_view = ob_get_clean();
- /**
- * Modify the Job Listing List View Template.
- *
- * @since 2.3.0
- *
- * @param html $html_list_view Job Listing List View HTML.
- */
- echo apply_filters('sjb_list_view_template', $html_list_view);
|