'comment_popup_link()' 在 Genesis Framework 上使用不同的#ID

'comment_popup_link()' with different #ID on Genesis Framework

我想在我的 Wordpress 主题的每个 post 下添加 "comment" 和 "reply" link。标准 "comment_popup_link()" 函数创建这样的 link:

http://website.com/page/#comments

我想要的是创建另一个,在上面的旁边,看起来像这样:

http://website.com/page/#reply

我该怎么做?

我正在尝试使用 Genesis Framework 将其添加到 Wordpress 主题中。有一个可用的简码 - [post_comments] 与 'comment_popup_link()' 的作用相同。以上 shortcode/function 的输出显示在第一个代码示例中。

谢谢, 卢卡

一个肮脏而快速的解决方案是这样的:

<a href="<?php the_permalink(); ?>#reply">
    <?php comments_number('No Comments', '1 Comment', '% Comments'); ?>
</a>