From 3de72a1cbd985826213c2b4b448ca902f4224677 Mon Sep 17 00:00:00 2001 From: alaczek Date: Fri, 7 Jul 2017 10:26:45 +1000 Subject: [PATCH] Remove the word "Post", as it will not apply for Custom Post Types. --- languages/_s.pot | 8 -------- single.php | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/languages/_s.pot b/languages/_s.pot index 8cb5d0e..a212a4a 100644 --- a/languages/_s.pot +++ b/languages/_s.pot @@ -116,18 +116,10 @@ msgstr "" msgid "Primary Menu" msgstr "" -#: single.php:21 -msgid "Previous Post" -msgstr "" - #: single.php:21 msgid "Previous" msgstr "" -#: single.php:22 -msgid "Next Post" -msgstr "" - #: single.php:22 msgid "Next" msgstr "" diff --git a/single.php b/single.php index 329400a..320d7a7 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 Post', '_s' ) . ' %title', - 'next_text' => '' . __( 'Next Post', '_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.