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.

  • Please edit your question to include your current code, and what you've tried regarding modifying the indicated text strings. – Chip Bennett Nov 12 '13 at 23:16
  • You will need to check comments.php and the style in style.css that modifies that. – Alex Dumitru Nov 13 '13 at 3:47
  • Cheers guys all done now – Linards Berzins Nov 13 '13 at 21:11
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

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, privacy policy and cookie policy

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