BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Leave Group Button to Left Menu?

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

    #32880
    @teamduce

    Would like to make the Leave Group less prominent and possibly just move it to a link at the bottom of the left menu. Easiest way to do this?

    Answers

    #32912

    Alyssa
    Participant
    @alyssa-buddyboss

    @teamduce firest add this to your child theme custom.css file:
    `.group-button.leave-group{display:none;}’
    Because this is a complex function I am unable to support how to add it. You can see the complete function starting on line 723 of buddypress/bp-themes/bp-default/_inc/ajax.php
    You would need to add your custom link after line 22 of buddypress/bp-themes/bp-default/groups/single/home.php
    <?php do_action( 'bp_group_options_nav' ); ?>

    You would copy that file to your child theme in the same structure under the buddyboss/buddypress folder structure.

    #33016
    @teamduce

    Hmm…Is there not a standard “Leave Group” code?

    I have a similar issue trying to deep link directly to “my groups” and “my account”.

    #33041

    Alyssa
    Participant
    @alyssa-buddyboss

    @teamduce I am not aware of one if it exists. Perhaps you will have better luck on the BuddyPress forums

    #33042

    Alyssa
    Participant
    @alyssa-buddyboss
Viewing 5 posts - 1 through 5 (of 5 total)
  • The question ‘Leave Group Button to Left Menu?’ is closed to new replies.