Skip to:
Content
Pages
Categories
Search
Top
Bottom

if is group home () ?


  • flynn
    Participant

    @flynn

    Hey all, been a while.
    I’m building a site wherein each group is more of a department with subgroups for classes.
    As such, it needs to feel like each group is kind of it’s own site (branding for departments).
    The BP Group Homepage plugin is awesome and has really fit that bill. My problem is that now I don’t really want the group title / avatar on the front page (but the front page banner etc wont display on every group page).

    So if there was a way to either have the BP Group Frontpage banner display on every page, or, if I could say if (is_bp_frontpage) {} Else { normal bp group header stuff here }
    that would rock.

    Thoughts?

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

  • r-a-y
    Keymaster

    @r-a-y

    Almost!

    `bp_is_group_home()` is what you’re looking for.
    These type of template tags can be found in /bp-core/bp-core-templatetags.php.


    flynn
    Participant

    @flynn

    Ah ha!
    Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘if is group home () ?’ is closed to new replies.
Skip to toolbar