ID, 'medium' ) : ''; $prev_post_thumb_class = $prev_post_thumb ? 'has-thumb' : 'no-thumb'; $next_post = get_next_post(); $next_post_thumb = $next_post ? get_the_post_thumbnail_url( $next_post->ID, 'medium' ) : ''; $next_post_thumb_class = $next_post_thumb ? 'has-thumb' : 'no-thumb'; the_post_navigation( array( 'prev_text' => '' . esc_html__( 'Previous', 'bloginwp' ) . '
%title
', 'next_text' => '' . esc_html__( 'Next', 'bloginwp' ) . '%title
', ) ); // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : echo ''; endif; /** * hook - bloginwp_single_post_footer_hook * * @since 1.0.0 * */ do_action( 'bloginwp_single_post_footer_hook' ); endwhile; // End of the loop. ?>