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.
Many thanks
its on local host, and it is a custom theme.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityHi 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.
Many thanks
its on local host, and it is a custom theme.
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.
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