Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The template for displaying archive pages
- *
- * @link https://codex.wordpress.org/Template_Hierarchy
- *
- * @package wprig
- */
- get_header(); ?>
- <main id="primary" class="site-main">
- <?php
- if ( have_posts() ) :
- wp_print_styles( array( 'pixigo-content' ) );
- /* Start the Loop */
- while ( have_posts() ) :
- the_post();
- get_template_part( 'template-parts/content' );
- endwhile;
- the_posts_pagination(
- array(
- 'mid_size' => 2,
- )
- );
- else :
- get_template_part( 'template-parts/content', 'none' );
- endif;
- ?>
- </main><!-- #primary -->
- <?php
- get_sidebar();
- get_footer();
Add Comment
Please, Sign In to add comment