';
do_action( 'upstudy_before_content' );
echo '
';
echo '';
if ( have_posts() ) :
if ( is_home() && ! is_front_page() ) :
?>
';
/* Start the Loop */
while ( have_posts() ) :
the_post();
/*
* Include the Post-Type-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 Type name) and that will be used instead.
*/
get_template_part( 'template-parts/posts/post', $upstudy_blog_post_style );
endwhile;
wp_reset_postdata();
echo '
';
if ( function_exists( 'upstudy_numeric_pagination' ) ) :
upstudy_numeric_pagination();
else :
the_posts_navigation();
endif;
else :
get_template_part( 'template-parts/content', 'none' );
endif;
echo '';
echo '';
if ( 'no-sidebar' !== $blog_layout ) :
get_sidebar();
endif;
do_action( 'upstudy_after_content' );
echo '';
get_footer();