Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to know if user visit Group loop or Group single page ?


  • Florent
    Participant

    @frappi

    Hello,

    I build a Group Control Menu widget that must display the group header and the group navigation control in the sidebar. For some reason it display the group header in the groups loop page.

    Do you know how can I know if user visit groups loop page ?

    $group_id = bp_get_group_id();
    echo $group_id;

    Returns 1 on groups loop page but returns nothing in group single page, that should be the opposit don’t you think so ?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to know if user visit Group loop or Group single page ?’ is closed to new replies.
Skip to toolbar