 Paweł
|
Hi,
first – thanks for your plugin!
But.. I have some problems. When I tried to follow by tutorial I found that my theme doesn’t use comment_form function, but comments_template function. The problem is, that there is now any ‘comment_id_fields();’, so I don’t know where I should put lg_comment_id_fields();.
|
 Marcel
|
OK,
I don’t have that theme, and it would cost me $69,00 to download.
Maybe the free version would offer some clues.
BBL
|
 Paweł
|
Comments modules in that themes are identical
|
 Marcel
|
Please add the following code to your (child)theme functions.php:
function my_comment_id_fields() {
if ( function_exists( 'lg_comment_id_fields' ) )
lg_comment_id_fields();
}
add_action( 'comment_form', 'my_comment_id_fields');
function remove_commentor() {
global $lg_gallery;
remove_filter( 'comments_template', array( $lg_gallery->commentor, 'comments_template' ), 10, 1 );
}
add_action( 'lazyest_ready', 'remove_commentor', 20 );
|