Guest User

Untitled

a guest
May 3rd, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. <?php
  2. /**
  3. * The category template file
  4. * @package WordPress
  5. */
  6. get_header();
  7. ?>
  8. <!-- Page Title -->
  9. <section class="page-header">
  10. <div class="container">
  11. <div class="row">
  12. <div class="col-md-6">
  13. <div class="page-title">
  14. <h2><?php echo single_cat_title( '', false ); ?></h2>
  15. <p><?php bloginfo('description');?></p>
  16. </div>
  17. </div>
  18. <div class="col-md-6">
  19. <ul class="page-breadcrumb">
  20. <?php if (function_exists('busiprof_custom_breadcrumbs')) busiprof_custom_breadcrumbs();?>
  21. </ul>
  22. </div>
  23. </div>
  24. </div>
  25. </section>
  26. <!-- End of Page Title -->
  27. <div class="clearfix"></div>
  28.  
  29. <!-- Blog & Sidebar Section -->
  30. <section>
  31. <div class="container">
  32. <div class="row">
  33. <!--Blog Posts-->
  34. <div class="<?php if( is_active_sidebar('sidebar-primary')) { echo "col-md-8"; } else { echo "col-md-12"; } ?>">
  35. <div class="site-content">
  36. <?php
  37. if ( have_posts() ) :
  38. // Start the Loop.
  39. while ( have_posts() ) : the_post();
  40.  
  41. get_template_part( 'content','' );
  42.  
  43. endwhile;
  44. ?>
  45. <!-- Pagination -->
  46. <div class="paginations">
  47. <?php
  48. // Previous/next page navigation.
  49. the_posts_pagination( array(
  50. 'prev_text' => __('Previous','busiprof'),
  51. 'next_text' => __('Next','busiprof'),
  52. 'screen_reader_text' => ' ',
  53. ) ); ?>
  54. </div>
  55. <?php endif; ?>
  56. <!-- /Pagination -->
  57. </div>
  58. <!--/End of Blog Posts-->
  59. </div>
  60. <!--Sidebar-->
  61. <?php get_sidebar();?>
  62. <!--/End of Sidebar-->
  63. </div>
  64. </div>
  65. </section>
  66. <!-- End of Blog & Sidebar Section -->
  67.  
  68. <div class="clearfix"></div>
  69.  
  70. <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment