Skip to content

Instantly share code, notes, and snippets.

View auzeonfung's full-sized avatar
🏠
Working from home

NGAU Zeonfung auzeonfung

🏠
Working from home
View GitHub Profile
<span class="tsukkomi">
<?php if ($depth == get_option('thread_comments_depth')) : ?> <!-- 评论深度等于设置的最大深度 -->
<!-- 将第二个参数改为父一级评论的id -->
<a onclick="return addComment.moveForm( 'comment-<?php comment_ID() ?>','<?php echo $comment->comment_parent; ?>', 'respond','<?php echo $comment->comment_post_ID; ?>'" href="#comment-<?php comment_ID() ?>" class="comment-reply-link">回复</a>
<?php else: ?>
<!-- 正常情况 -->
<a onclick="return addComment.moveForm( 'comment-<?php comment_ID() ?>','<?php comment_ID() ?>', 'respond','<?php echo $comment->comment_post_ID; ?>'" href="#comment-<?php comment_ID() ?>" class="comment-reply-link" >回复</a>
<?php endif; ?>
</span>

Keybase proof

I hereby claim:

  • I am auzeonfung on github.
  • I am ou (https://keybase.io/ou) on keybase.
  • I have a public key whose fingerprint is 3091 696A E2A5 9608 4BE0 D8DD 2A05 09CA 70C6 92B1

To claim this, I am signing this object: