'post', 'post_status' => 'publish', 'paged' => get_query_var('paged') ); $query = new WP_Query( $args ); if ( $query->have_posts() ) : /* Start the Loop */ while ( $query->have_posts() ) : $query->the_post(); get_template_part( 'template-parts/post/content'); endwhile; else : get_template_part( 'template-parts/post/content', 'none' ); endif; ?>