ID)) : ?>
ID)); ?>
"%s"', 'broadnews'), array( 'span' => array( 'class' => array(), ), ) ), get_the_title() )); ?> ID); } ?> ID)) { $previous_post_thumb = broadnews_the_post_thumbnail('thumbnail', $previous_post->ID, true); } $next_post = get_next_post(); $next_post_thumb = ''; if (isset($next_post->ID)) { $next_post_thumb = broadnews_the_post_thumbnail('thumbnail', $next_post->ID, true); } the_post_navigation( array( 'next_text' => sprintf( ' ' . '%s ' . '

%%title

%s', esc_html__( 'Next', 'broadnews' ), esc_html__( 'Next post:', 'broadnews' ), $next_post_thumb ), 'prev_text' => sprintf( ' ' . '%s ' . '

%%title

%s', esc_html__( 'Previous', 'broadnews' ), esc_html__( 'Previous post:', 'broadnews' ), $previous_post_thumb ), /* translators: Hidden heading for the post navigation section. */ 'screen_reader_text' => esc_html__( 'Post navigation', 'broadnews' ), // Optional: keep if you want navigation restricted to same category // 'in_same_term' => true, ) ); ?> '', )); ?>