have_posts() ) : $the_query->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.
*/
get_template_part( 'template-parts/content', 'home-two' );
endwhile;
the_posts_navigation( array(
'prev_text' => sprintf( '← %s', __( 'Older Posts', 'themotion' ) ),
'next_text' => sprintf( '%s →', __( 'Newer Posts', 'themotion' ) ),
)
); ?>
', '' );
} else {
if ( is_customize_preview() ) {
get_template_part( 'template-parts/content', 'none' );
}
}
/* Restore original Post Data */
wp_reset_postdata(); ?>