'; else : echo '
'; endif; /* Start the Loop */ while ( have_posts() ) : the_post(); /* * Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ if( $alternative_layout_content != 'blog' ) : get_template_part( 'template-parts/content', $alternative_layout_content ); else : get_template_part( 'template-parts/content', get_post_format() ); endif; endwhile; echo '
'; $navigation_args = array( 'mid_size' => 2, 'prev_text' => '', 'next_text' => '', ); the_posts_pagination( $navigation_args ); else : get_template_part( 'template-parts/content', 'none' ); endif; ?>