Php 自定义取消\u评论\u回复\u链接WordPress
正如标题所示,我想修改或自定义Php 自定义取消\u评论\u回复\u链接WordPress,php,wordpress,Php,Wordpress,正如标题所示,我想修改或自定义取消注释回复链接,而不编辑/wp includes/comment template.php comment template.php中的代码如下所示: <h3 id="reply-title" class="comment-reply-title"> <?php comment_form_title( $args['title_reply'], $args['title_reply_to'] ); ?> <sma
取消注释回复链接
,而不编辑/wp includes/comment template.php
comment template.php
中的代码如下所示:
<h3 id="reply-title" class="comment-reply-title">
<?php comment_form_title( $args['title_reply'], $args['title_reply_to'] ); ?>
<small>
<?php cancel_comment_reply_link( $args['cancel_reply_link'] ); ?>
</small>
</h3>
基本上,我想将取消\u注释\u回复\u链接从
和
-标记中取出,放入
容器中,但我真的不知道如何在不接触注释模板.php
的情况下实现这一点
我的主题的functions.php
中是否包含解决方案
谢谢您的帮助。我将完整的注释表单
函数复制到我的函数中。php
将其重命名、修改并包含新函数而不是旧函数