From 4ca9cd8a4760f693dc3dbb0442e1feeb63c1d659 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 16 Apr 2019 21:38:05 +0100 Subject: [PATCH] Create discussion-meta.php --- .../template-parts/post/discussion-meta.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 wp-content/themes/twentynineteen-tailwindcss/template-parts/post/discussion-meta.php diff --git a/wp-content/themes/twentynineteen-tailwindcss/template-parts/post/discussion-meta.php b/wp-content/themes/twentynineteen-tailwindcss/template-parts/post/discussion-meta.php new file mode 100644 index 0000000..add281d --- /dev/null +++ b/wp-content/themes/twentynineteen-tailwindcss/template-parts/post/discussion-meta.php @@ -0,0 +1,32 @@ +responses > 0; + +if ( $has_responses ) { + /* translators: %1(X comments)$s */ + $meta_label = sprintf( _n( '%d Comment', '%d Comments', $discussion->responses, 'twentynineteen' ), $discussion->responses ); +} else { + $meta_label = __( 'No comments', 'twentynineteen' ); +} +?> + +
+ authors ); + } + ?> +

+ + +

+