you also need to copy the comment callback function into functions.php of your theme;
copy it from functions.php of twenty eleven (line 485 to 572):
if ( ! function_exists( 'twentyeleven_comment' ) ) :
/**
* Template for comments and pingbacks.
*
...
etc.
...
esc_html( get_the_author() )
);
}
endif;
thanks friend !
you mean to paste these code into function.php
https://gist.github.com/1113826
yes – that is the right code.
how can i merge this code into comments.php could it possible ?
i am not so smart in php so if you can tell me, if possible
thanks
(@yashmistrey)
14 years, 10 months ago
i want to customize my theme comment
i tried to replace comments.php (twentyeleven theme) to my theme’s comments.php file
i got an error
please help