| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- /**
- * The template for displaying job title and company name in grid view
- *
- * Override this template by copying it to yourtheme/simple_job_board/listing/grid-view/job-title-company.php
- *
- * @author PressTigers
- * @package Simple_Job_Board
- * @subpackage Simple_Job_Board/templates/listing/grid-view
- * @version 1.0.0
- * @since 2.4.0
- */
- ob_start();
- $class = ( 'logo-detail' === get_option('job_board_listing') || 'without-detail' === get_option('job_board_listing') ) ?
- 'col-sm-9' : 'col-sm-12';
- ?>
- <!-- start Company Title -->
- <div class="<?php echo $class; ?>">
- <div class="job-info">
- <h4>
- <a href="<?php the_permalink(); ?>">
- <?php
- /**
- * Template -> Title:
- *
- * - Job Title
- */
- get_simple_job_board_template('listing/grid-view/title.php');
- /**
- * Template -> Company:
- *
- * - Company Name
- */
- get_simple_job_board_template('listing/grid-view/company.php');
- /**
- * Fires after Job heading on job listing page.
- *
- * @since 2.2.3
- */
- do_action('sjb_job_listing_heading_after');
- ?>
- </a>
- </h4>
- </div>
- </div><!-- end Company Title -->
- <?php
- $html = ob_get_clean();
- /**
- * Modify the Job Listing -> Job Title & Company Name Template
- *
- * @since 2.4.0
- *
- * @param html $html Job Title & Company Name HTML.
- */
- echo apply_filters('sjb_grid_view_job_title_company_template', $html);
|