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

    #48052
    @anderew

    Hey,

    How can I remove ‘My Likes’ from the general activity feed tabs? Seems a bit pointless to have it as a tab since it is self generated activity and not community generated.

    Cheers again 🙂

    Andrew

    Answers

    #48053
    @anderew

    Not removing it completely thought. I think having it as a wall tab works 😉

    #48316

    Anonymous
    @

    Hi @anderew, You can add this CSS code to hide the ‘My Likes’ Button

    
    li#favorites-personal-li.current.selected {
    display: none !important;
    }
    

    Regards
    Pallavi

    #48334
    @anderew

    Hey Pallavi,

    Thanks for the response. Still active on the list unfortunately. Is there a way to kill it in php?

    I have found

    function remove_item_from_nav() {
       global $bp;
          bp_core_remove_subnav_item( $bp->activity->slug, 'favorites' );
       }
    add_action( 'init', 'remove_item_from_nav' );

    Which kills it in the profile menu but how do kill it in the global activity tab?

    Cheers,

    Andrew

    #49178
    @vapvarun

    Hi @anderew, You need to deactivate complete activity functionality or just activity tab ?
    Might be following thread will help you.
    https://buddypress.org/support/topic/remove-the-activity-tab-from-the-buddypress-profile-page/

    Regards
    Varun

Viewing 5 posts - 1 through 5 (of 5 total)
  • The question ‘Remove My Likes’ is closed to new replies.