title.php 786 B

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