Skip to:
Content
Pages
Categories
Search
Top
Bottom

Direct link to group

  • @bapakrob

    Participant

    Hello,
    As an admin i created a group with a few members. I notice BuddyPress has a few default pages, but what i want is a link to that one group only.

    So the default is https://website.com/groups
    And the link to that groups is https://website.com/groups/groupname

    I will have several groups, so the second link should be based on the member.

    I hope i am clear enough 🙂
    Rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • @shanebp

    Moderator

    Nope, not clear enough :>

    BP does not create a separate page for each group.

    Where do you want to show single group links?

    You can create group links in a few ways. Here is one: bp_get_group_permalink( $group );
    But we need to know the context for the links.

    @epgb101

    Participant

    Hi – Id like to add menu link directly to a user’s group (I have set it so they can only create 1 group). Is there anything like /me/ function (which is great for creating links to open user’s profile tabs) for groups? Like: https://www.mysite.com/groups/me-group/

    I see above you have said one might use; bp_get_group_permalink( $group ); to link to a group.
    Q: where would this code go exactly if I wanted to make a menu link under users profile thumbnail top right?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar