';
get_template_part( 'template-parts/page/content', 'excerpt' );
echo '
';
} else {
echo '
';
get_template_part( 'template-parts/post/content', 'excerpt' );
echo '
';
}
endwhile; // End of the loop.
the_posts_pagination(
array(
'prev_text' => '
' . __( 'Previous Post', 'the-business-wp' ) . '' . __( 'Previous', 'the-business-wp' ) . ' ' . '' . ''.__( 'View', 'the-business-wp' ).'',
'next_text' => '' . __( 'Next Post', 'the-business-wp' ) . '' . __( 'Next', 'the-business-wp' ) . ' '.__( 'View', 'the-business-wp' ).'' . '' . '',
'before_page_number' => '' . __( 'Page', 'the-business-wp' ) . ' ',
)
);
else :
?>