0

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!

2

1 Answer 1

1

try:

<?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => ''))) ?> 
2
  • that didn't work :(
    – Dave Burns
    Jan 30, 2012 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, 2012 at 11:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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