BuddyBoss Home – Web Support Forums Themes Boss. theme Activity page to show 'posted updates' only

Viewing 3 posts - 1 through 3 (of 3 total)
  • Question

    #68249
    @gregcatmull

    Hi,

    is there some custom css I can use so that the activity page only shows updates and replies?

    I don’t want anything like, ‘edited a doc’, ‘commented on’ etc.

    thanks
    Greg

    Answers

    #68265

    Anonymous
    @

    Hi @gregcatmull
    Pelase check the following

    Activity Loop

    How To Customize The BuddyPress Activity Loop


    Regards
    Varun Dubey

    #68273

    Alyssa
    Participant
    @alyssa-buddyboss

    Hi again!

    You’ll need to paste this code in your theme’s functions.php file, or in a functionality plugin.

    
    function boss_filtering_activity( $retval ) {
    
    	$retval['action'] = 'activity_update';		
    	
    	return $retval;
    }
    add_filter( 'bp_before_has_activities_parse_args', 'boss_filtering_activity' );
    

    I’d recommend this for the activity loop customization:

    Activity Loop

    Add custom filters to loops and enjoy them within your plugin

    I hope this help!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The question ‘Activity page to show 'posted updates' only’ is closed to new replies.