Support is monitored from Monday to Saturday in office hours from the GMT timezone. Our response time can be up to 2 business days.

Notice: We do not accept any customization. Please Read Envato Support Policy. But we still can help with little snippets if that's possible!


Add Show / Hide Comments Button

Put snippet code below into "bp-custom.php" file in folder "wp-content/plugins". If you dont have it, please create a new one


add_action( 'wp_footer', 'add_comment_hide_show' );
function add_comment_hide_show() {
        .activity-comments ul li[id^="acomment-"]{display: none;}
    <script type="text/javascript">
        jQuery(function($) {
            setInterval(function() {
                $('.activity-meta').each(function() {
                    if( !$(this).find('.show-comments').length ){
                        var html = '<a href="#" class="button bp-primary-action show-comments">Show/Hide Comments</a>';

            }, 500);

            $('body').on('click', '.show-comments', function(e) {
                var obj = $(this).closest('.activity-content').next('.activity-comments').find('ul li[id^="acomment-"]');
                return false;


* Set Activity Comments Length.

function yzc_set_activity_comments_length() {
?> <script type="text/javascript">window.yz_comments_length = 2;</script> <?php

add_action( 'wp_head' , 'yzc_set_activity_comments_length', 999 );