Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_is_page(BP_GROUPS_SLUG) return true in the group page ?


  • meg@info
    Participant

    @megainfo

    Hi,

    Tested in : buddypress 1.6.1 + default theme

    I add this code in the content of members/single/home.php

    [BP_MEMBERS_SLUG]
    [bp_is_member]

    bp_is_page(BP_MEMBERS_SLUG) return false, bp_is_member() return true.

    And in groups/single/home.php

    BP_GROUPS_SLUG
    bp_is_group

    bp_is_page(BP_GROUPS_SLUG) return true and bp_is_group return true.

    I think bp_is_page(BP_GROUPS_SLUG) must return false in group home page ?

    thanks advance for answers.

Viewing 1 replies (of 1 total)

  • meg@info
    Participant

    @megainfo

    bump

    Can someone do a test for me, and tell me please if is bug in buddypress or somthing wrong ?

    thanks advance.

Viewing 1 replies (of 1 total)
  • The topic ‘bp_is_page(BP_GROUPS_SLUG) return true in the group page ?’ is closed to new replies.
Skip to toolbar