Skip to:
Content
Pages
Categories
Search
Top
Bottom

[SOLVED] Hide ”Groups” tab in BP theme?


  • jdporter328
    Member

    @jdporter328

    I am wondering how do I change the pages my Fishbook buddypress theme displays. In the upper right it says Members, Activity, groups and I would like to hide or not display the Groups button/ page.

Viewing 4 replies - 1 through 4 (of 4 total)

  • Bowe
    Participant

    @bowromir

    Open up header.php in your theme and remove it. It’s probably a li item. Just search for “Groups” in the file and you should be able to find it easily


    jdporter328
    Member

    @jdporter328

    there was no header.php, but there was a functions.php which only contained this:

    <?php define( 'BP_DTHEME_DISABLE_CUSTOM_HEADER', true ); ?>

    so i changed it to false and reuploaded it via ftp, I am clueless on what to do now.


    @mercime
    Participant

    @mercime

    If I recall, fishbook theme is a child theme of bp-default theme. So if there’s no header.php there, download a copy here https://trac.buddypress.org/browser/tags/1.2.8/bp-themes/bp-default/header.php – download link at the bottom of the page. Delete lines 61-64, then upload to server wp-content/themes/fishbook folder


    jdporter328
    Member

    @jdporter328

    It got this error when I go to the website after deleting lines 61-64 and uploading:

    Parse error: syntax error, unexpected T_ENDIF in /home/content/93/6562893/html/wp-content/themes/fishbook-buddypress-buddypack/header.php on line 67

    EDIT: I fixed this by going to line 67 and deleting it then reuploading. Works great! Thank you very much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[SOLVED] Hide ”Groups” tab in BP theme?’ is closed to new replies.
Skip to toolbar