Skip to:
Content
Pages
Categories
Search
Top
Bottom

[resolved] Change groups default tab

  • Profile photo of Clementkjhjkh
    Clementkjhjkh
    Participant

    @clementkjhjkh

    Hi !
    I would like to change the default tab for groups.
    I want the landing page to be a group-extension tab i have created.
    I have seen some codes using the bp_core_redirect function but none of these codes worked for me.

    If someone has a solution, it would be really helpfull.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Profile photo of fitnessblogger
    fitnessblogger
    Participant

    @fitnessblogger

    I have just posted a similar question..

    so just wanted to follow this topic too 🙂

    Profile photo of modemlooper
    modemlooper
    Moderator

    @modemlooper

    define( ‘BP_GROUPS_DEFAULT_EXTENSION’, ‘forum’ );

    Profile photo of fitnessblogger
    fitnessblogger
    Participant

    @fitnessblogger

    Hi @modemlooper

    Can I just clarify the whereabouts this code needs to be placed…. I have reed somewhere its in the Functions.php file ? ?

    Cheers

    James

    Profile photo of modemlooper
    modemlooper
    Moderator

    @modemlooper

    only include code in functions.php that relates to the active theme. Place bp custom code in a file bp-custom.php and place this file in wp-content/plugins/bp-custom.php

    Profile photo of fitnessblogger
    fitnessblogger
    Participant

    @fitnessblogger

    Hi @modemlooper

    You are a SuperStar this works perfect…. Thank You so much 🙂

    James

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[resolved] Change groups default tab’ is closed to new replies.
Skip to toolbar