Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2021
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.98 KB | None | 0 0
  1. <?php
  2. get_header();
  3.  
  4. if ( class_exists( 'WooCommerce' ) && get_theme_mod( 'breadcrumbs-check', 1 ) != 0 ) {
  5.     woocommerce_breadcrumb();
  6. }
  7. ?>
  8.  
  9. <!-- start content container -->
  10. <div class="row container rsrc-content">
  11.  
  12.     <?php get_sidebar( 'left' ); ?>
  13.  
  14.     <div class="col-md-<?php giga_store_main_content_width_columns(); ?> rsrc-main">
  15.         <?php if ( have_posts() ) : ?>
  16.             <h1 class="page-title text-center">
  17.                 <?php the_archive_title(); ?>
  18.             </h1>
  19.  
  20.         <?php the_archive_description( '<div class="taxonomy-description">', '</div>' ); ?>
  21.  
  22.             <?php
  23.             while ( have_posts() ) : the_post();
  24.                 get_template_part( 'content', get_post_format() );
  25.             endwhile;
  26.             ?>
  27.             <div class="footer-pagination"><?php the_posts_pagination(); ?></div>
  28.             <?php
  29.         else :
  30.             get_template_part( 'content', 'none' );
  31.         endif;
  32.         ?>
  33.     </div>
  34.  
  35.     <?php get_sidebar( 'right' ); ?>
  36.  
  37. </div>
  38. <!-- end content container -->
  39. <?php
  40.  
  41. get_template_part( 'template-part', 'footernav' );
  42.  
  43. get_footer();
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement