
Originally Posted by
Karl1
Hi chipbennet
no, that's the one in yellow in
this screenshot, the one I need to remove the link is the one in red, the "reply to comment" that already exists
thanks
Okay, now we're there. That text is coming from this code:
PHP Code:
<div class="reply">
<?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
</div>
Specifically, from the comment_reply_link() function.
The comment_reply_link() argument for the login text is login_text. So, change the argument array accordingly; e.g.:
PHP Code:
<?php comment_reply_link(array_merge( $args, array( 'login_text' => '', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>