if ( have_posts() ) : // Start the loop. while ( have_posts() ) : the_post(); // Include the page content template. get_template_part( 'content', get_post_format() ); // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : comments_template(); endif; // End the loop. endwhile; // Previous/next page navigation. the_posts_pagination( array( 'prev_text' => wp_kses( __( ' Previous', "enhenyerowp" ), array( 'i' => array( 'class' => array() ) ) ), 'next_text' => wp_kses( __( 'Next ', "enhenyerowp" ), array( 'i' => array( 'class' => array() ) ) ), 'before_page_number' => '' . esc_html( 'Page', "enhenyerowp" ) . ' ', ) ); // If no content, include the "No posts found" template. else : get_template_part( 'content', 'none' ); endif; ?>