From c05e3ab6ec9272236d15e6bcae14d8438b202cda Mon Sep 17 00:00:00 2001 From: alaczek Date: Mon, 28 Aug 2017 17:54:58 +1000 Subject: [PATCH] Remove the screen reader text for Previous/Next post navigation. Update .pot file. --- languages/_s.pot | 4 ++-- single.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/languages/_s.pot b/languages/_s.pot index a212a4a5..2d1f6daa 100644 --- a/languages/_s.pot +++ b/languages/_s.pot @@ -117,11 +117,11 @@ msgid "Primary Menu" msgstr "" #: single.php:21 -msgid "Previous" +msgid "Previous:" msgstr "" #: single.php:22 -msgid "Next" +msgid "Next:" msgstr "" #. translators: %s: post date. diff --git a/single.php b/single.php index 320d7a79..9bb3469b 100644 --- a/single.php +++ b/single.php @@ -18,8 +18,8 @@ get_header(); ?> get_template_part( 'template-parts/content', get_post_format() ); the_post_navigation( array( - 'prev_text' => '' . __( 'Previous', '_s' ) . ' %title', - 'next_text' => '' . __( 'Next', '_s' ) . ' %title', + 'prev_text' => '' . __( 'Previous:', '_s' ) . ' %title', + 'next_text' => '' . __( 'Next:', '_s' ) . ' %title', ) ); // If comments are open or we have at least one comment, load up the comment template.