fix: 评论回复按钮未登录弹窗 + 笺文列表加评论数 + 封面比例16:10
This commit is contained in:
+7
-1
@@ -27,7 +27,13 @@ if (post_password_required()) return;
|
||||
<span class="comment-item__time"><?php echo get_comment_date('Y-m-d H:i:s', $c); ?></span>
|
||||
</div>
|
||||
<div class="comment-item__text"><?php echo esc_html($c->comment_content); ?></div>
|
||||
<div class="comment-item__reply"><a href="<?php echo esc_url(add_query_arg('replytocom', $c->comment_ID, get_permalink() . '#respond')); ?>">回复</a></div>
|
||||
<div class="comment-item__reply">
|
||||
<?php if (is_user_logged_in()) : ?>
|
||||
<a href="<?php echo esc_url(add_query_arg('replytocom', $c->comment_ID, get_permalink() . '#respond')); ?>">回复</a>
|
||||
<?php else : ?>
|
||||
<a href="javascript:void(0)" onclick="goLogin()">回复</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
||||
|
||||
Reference in New Issue
Block a user