Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [resolved] Unwanted comment list on each buddypress member & registration page

@morka

Participant

Someone at the @customizR theme support find the trick to resolve my issue, so, i’d only had to put this snippet-code :

add_filter(‘tc_show_comments’, ‘disable_comments_buddypress_pages’);
function disable_comments_buddypress_pages( $bool ){
if ( is_page() && is_buddypress() )
return false;
return $bool;
}

At my child-theme function.php;

This code will disable the comments on each buddypress pages, so, take care if you want to allow users to comment some buddypress pages this code won’t work for you 🙂

Thx for the help you tried to give to me !

Skip to toolbar