'post', 'post_status' => 'publish', 'posts_per_page' => 3, 'ignore_sticky_posts' => 1, ); if ( ! empty( $themotion_bottom_posts_category ) && $themotion_bottom_posts_category !== 'all' ) { $args['category_name'] = $themotion_bottom_posts_category; } $the_query = new WP_Query( $args ); ?>
have_posts() ) { themotion_template_two_posts_header(); ?>
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(); ?>