title.php 765 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * The template for displaying job title in grid view.
  4. *
  5. * Override this template by copying it to yourtheme/simple_job_board/listing/grid-view/title.php
  6. *
  7. * @author PressTigers
  8. * @package Simple_Job_Board
  9. * @subpackage Simple_Job_Board/templates/listing/grid-view/
  10. * @version 1.0.0
  11. * @since 2.3.0 Added "sjb_grid_view_title_template" filter.
  12. */
  13. ob_start();
  14. // Job Title
  15. sjb_the_title('<span class="job-title">', '</span>' );
  16. $html = ob_get_clean();
  17. /**
  18. * Modify the Job Listing -> Job Title Template.
  19. *
  20. * @since 2.3.0
  21. *
  22. * @param html $html Job Title HTML.
  23. */
  24. echo apply_filters( 'sjb_grid_view_title_template', $html );