0

Hi I want to customize the text with the arrows pointed at at the image I have uploaded. I have managed to customize some but I cannot find the file to customize the rest.enter image description here

Many thanks

its on local host, and it is a custom theme.

3
  • Please edit your question to include your current code, and what you've tried regarding modifying the indicated text strings. Nov 12, 2013 at 23:16
  • You will need to check comments.php and the style in style.css that modifies that. Nov 13, 2013 at 3:47
  • Cheers guys all done now Nov 13, 2013 at 21:11

2 Answers 2

1

Presumably you've used wp_list_comments to display the comments. That being the case, what you need to do is create a callback function to format your comments and pass that callback into wp_list_comments like so:

wp_list_comments(array('callback'=>'mytheme_comment'));

You can use the comment method in the Walker_Comment class as a starting point. That method provides the default output.

0
0

I'm wondering what is the signature of the callback. On the link you provided it is

function comment( $comment, $depth, $args )

But for example in twentyten it's different:

twentyten_comment( $comment, $args, $depth )

Source: TwentyTen SVN trac

Your Answer

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

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