Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Featured Group Widget


  • drummergirl
    Participant

    @drummergirl

    I have a client wanting to feature various groups in a widget on their home page. I created the widget and I can feed in the activity stream filtered by group ID, but I can’t figure out how to pull in the avatar for that specific group. What loop should I be using for this or is there a specific call?

Viewing 1 replies (of 1 total)

  • drummergirl
    Participant

    @drummergirl

    Found what I needed…

    $avatar = bp_core_fetch_avatar( array( ‘item_id’ => ‘4’, ‘object’ => ‘group’, ‘type’ => ‘full’, ‘avatar_dir’ => ‘group-avatars’, ‘alt’ => $alt, ‘css_id’ => $id, ‘class’ => $class, ‘width’ => $width, ‘height’ => $height ) );

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Featured Group Widget’ is closed to new replies.
Skip to toolbar