'' . esc_html__('Previous:', 'blogauthor') . ' %title', 'next_text' => '' . esc_html__('Next:', 'blogauthor') . ' %title', ) ); if ('post' === get_post_type()) : // Get Author Info & related/Author posts $show_author_info = blogauthor_get_option('show_author_info'); $show_related_posts = blogauthor_get_option('show_related_posts'); $show_author_posts = blogauthor_get_option('show_author_posts'); if ($show_author_info): get_template_part('template-parts/single/author-info'); endif; if ($show_related_posts): get_template_part('template-parts/single/related-posts'); endif; if ($show_author_posts): get_template_part('template-parts/single/author-posts'); endif; endif; // 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; ?>