Skip to:
Content
Pages
Categories
Search
Top
Bottom

add a create group button inside Profile > groups


  • Quinn Goldwin
    Participant

    @quinngoldwin

    I understand there is a create group button on the Groups directory page, but can someone please tell me some code and the php file I would need to add it to, to allow users to create groups from their profile? Inside the profile under “groups” I would like to have a “create group” button inside inside that area.

    Any help would be greatly appreciated.

    Thanks!

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

  • Quinn Goldwin
    Participant

    @quinngoldwin

    Never mind, i figured it out.

    add this

    <span class="create-a-group"><?php echo bp_get_group_create_button() ?></span>

    to groups.php and place it in a child theme located in members/single/groups.php

    I added the code before <div class="item-list-tabs no-ajax" id="subnav" role="navigation">

    You can mark this as resolved


    bertl11
    Participant

    @bertl11

    Hello,

    I also want to add a create button to the group profile.
    I tried your solution but didn’t work.

    Where did you insert the code in the groups.php?

    Thanks for your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add a create group button inside Profile > groups’ is closed to new replies.
Skip to toolbar