content-wrapper-end.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /**
  3. * Content Wrapper End
  4. *
  5. * Override this template by copying it to yourtheme/simple_job_board/global/content-wrapper-end.php
  6. *
  7. * @author PressTigers
  8. * @package Simple_Job_Board
  9. * @subpackage Simple_Job_Board/templates/global
  10. * @version 1.1.0
  11. * @since 2.2.0
  12. */
  13. if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
  14. ob_start();
  15. $template = get_option( 'template' );
  16. switch( $template ) {
  17. case 'twentyeleven' :
  18. echo '</div></div></div>';
  19. break;
  20. case 'twentytwelve' :
  21. echo '</div></div>';
  22. break;
  23. case 'twentythirteen' :
  24. echo '</div></div>';
  25. break;
  26. case 'twentyfourteen' :
  27. echo '</div></div></div></div>';
  28. get_sidebar( 'content' );
  29. break;
  30. case 'twentyfifteen' :
  31. echo '</div></div></div>';
  32. break;
  33. case 'twentysixteen' :
  34. echo '</div></main></div>';
  35. break;
  36. default :
  37. echo '</div></div>';
  38. break;
  39. }
  40. $html_wrapper_end = ob_get_clean();
  41. /**
  42. * Modify the Content Wrapper End Template.
  43. *
  44. * @since 2.3.0
  45. *
  46. * @param html $html_wrapper_end Content Wrapper End HTML.
  47. */
  48. echo apply_filters( 'sjb_content_wrapper_end_template', $html_wrapper_end );