From 07145166be7f7b6a8463884f87a4b0d57f8450d8 Mon Sep 17 00:00:00 2001 From: Seaton Jiang Date: Sat, 14 Mar 2020 09:12:43 +0800 Subject: [PATCH] feat: add comment reader url feature --- comments.php | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/comments.php b/comments.php index 37a6f34..ba5532d 100644 --- a/comments.php +++ b/comments.php @@ -3,26 +3,26 @@ * 评论模板 * @author Seaton Jiang * @license MIT License - * @version 2020.03.12 + * @version 2020.03.14 */ if (isset($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) { die(); } require get_template_directory() . '/pages/page-smilies.php'; -if (comments_open()) { ?> +if (comments_open()) {?>
-

+

- +
- 登录 之后才可以评论', 'kratos'), wp_login_url(get_permalink())); ?> + 登录 之后才可以评论', 'kratos'), wp_login_url(get_permalink()));?>
@@ -34,7 +34,7 @@ if (comments_open()) { ?>
- +
+ +
+
+
+ +
+
- +
@@ -59,16 +67,16 @@ if (comments_open()) { ?>
- - + +
- - ID); ?> + + ID);?> - + - + \ No newline at end of file