This topic has 1 reply, 2 voices, and was last updated 9 years by Radu.

  • Author
  • #140567
     Nando13
    Participant

    Hi,

     

    A month ago I had a trouble in “no display” the sidemenu on the group subpages. You send me this snippet. It worked for some time.

    But now, I’ve reinstalled the theme and everything, and every time I activate this snippet I find 2 bugs:

    -The Top Right menu go crazy.

    -The sidemenu logo does not load.

     

    Is there a way to do this (hide sidemenu on the group subpages) without causing more bugs?

     

    function disable_sidemenu_on_groups_component($data, $option) {

     

    if (bp_is_groups_component() AND !is_user_logged_in() ) {

     

    if ($option = ‘header_sidemenu’) {

    $data = false;

    }

    return $data;

    }

     

    }

    add_filter(‘sq_option’,’disable_sidemenu_on_groups_component’,10, 2 );

    #140594
     Radu
    Moderator
    Not marked as solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?