Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm currently setting up comments for a Wordpress theme I'm created, I have just successfully created nested comments but I'm having issues removing the word 'reply' from the reply button in order to use an image via the css.

The code I'm using at the moment for the reply link is as follows:

<?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>

I need the word 'reply' to completely disappear and just rely on my css button which is as follows:

ol.commentlist li div.reply { width:104px;height:35px;background-image:url(images/comment_reply.png); }
ol.commentlist li div.reply:hover { background-image:url(images/comment_reply_rl.png);}
ol.commentlist li div.reply a { float:left;width:104px;height:35px;background-image:url(images/comment_reply.png); }

All help will be massively appreciated.

Thanks in advance!

share|improve this question
    
have you tried to read: codex.wordpress.org/Function_Reference/comment_reply_link ? –  Michael Jan 29 '12 at 20:12
    
Yes but I'm not a coder and can't get it to work without completely breaking the functions.php –  Dave Burns Jan 30 '12 at 8:18

1 Answer 1

up vote 1 down vote accepted

try:

<?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => ''))) ?> 
share|improve this answer
    
that didn't work :( –  Dave Burns Jan 30 '12 at 20:24
    
please paste the full code of your comment section into a pastebin.com and post the link to it here. –  Michael Jan 31 '12 at 11:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.