From 7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 7 Jan 2020 13:06:14 +0100 Subject: Added wordpress --- .../wp-content/themes/twentynineteen/single.php | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 srcs/wordpress/wp-content/themes/twentynineteen/single.php (limited to 'srcs/wordpress/wp-content/themes/twentynineteen/single.php') diff --git a/srcs/wordpress/wp-content/themes/twentynineteen/single.php b/srcs/wordpress/wp-content/themes/twentynineteen/single.php new file mode 100644 index 0000000..b8cf0b1 --- /dev/null +++ b/srcs/wordpress/wp-content/themes/twentynineteen/single.php @@ -0,0 +1,60 @@ + + +
+
+ + sprintf( __( 'Published in%s', 'twentynineteen' ), '%title' ), + ) + ); + } elseif ( is_singular( 'post' ) ) { + // Previous/next post navigation. + the_post_navigation( + array( + 'next_text' => ' ' . + '' . __( 'Next post:', 'twentynineteen' ) . '
' . + '%title', + 'prev_text' => ' ' . + '' . __( 'Previous post:', 'twentynineteen' ) . '
' . + '%title', + ) + ); + } + + // If comments are open or we have at least one comment, load up the comment template. + if ( comments_open() || get_comments_number() ) { + comments_template(); + } + + endwhile; // End of the loop. + ?> + +
+
+ +