'post', 'posts_per_page' => absint( $posts_per_page ), 'paged' => $post_paged ); // phpcs:ignore WPThemeReview.CoreFunctionality.PrefixAllGlobals.NonPrefixedVariableFound $temp = $wp_query; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited $wp_query = null; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited $wp_query = new WP_Query($args); if ( $wp_query->have_posts() ) : if ( is_home() && ! is_front_page() ) : ?>

have_posts() ) : $wp_query->the_post(); get_template_part( 'template-parts/content-full', get_post_format() ); endwhile; get_template_part( 'template-parts/content', 'pagination' ); else : get_template_part( 'template-parts/content', 'none' ); endif; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited $wp_query = null; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited $wp_query = $temp; /** * Hook - blog_way_after_primary. * * @hooked blog_way_after_primary_action - 10 */ do_action( 'blog_way_after_primary' ); /** * Hook - blog_way_sidebar. * * @hooked blog_way_sidebar_action - 10 */ do_action( 'blog_way_sidebar' ); get_footer();