Skip to:
Content
Pages
Categories
Search
Top
Bottom

Where to find code for “Create a Group” button


  • webezy
    Participant

    @webezy

    I would like to hide the ‘create a group’ button that shows up alongside the groups title. But I can’t find where the code for this is located. Can someone point me in the right direction?

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

  • shanebp
    Moderator

    @shanebp

    Create a template overload of this file and remove that code:

    
    buddypress\bp-themes\bp-default\groups\index.php

    Correction: This is wrong – see below.


    shanebp
    Moderator

    @shanebp

    The above is wrong – unless you are using the bp-default theme – not recommended.

    ‘Hide’ the Create a Group link by turning it off in Groups Settings > Group Creation
    .../wp-admin/admin.php?page=bp-settings


    webezy
    Participant

    @webezy

    Thanks Shanebp for your response. I would like to insert some of my own code with the button code that makes it hidden when a user reaches the limit I set for how many groups they can create. Can you show me where this code is located?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Where to find code for “Create a Group” button’ is closed to new replies.
Skip to toolbar