• skriaz

    (@skriaz)


    As seen, I can link bp group with event. Please help me with guide how I can show bp group info (group name and group description) in event page. I have checked shortcode and template tag but it is not there

Viewing 1 replies (of 1 total)
  • Thread Starter skriaz

    (@skriaz)

    As last solved it. Now trying to add only avatar

    add_filter(’em_event_output_placeholder’,’my_em_bpgroup_name_placeholders’,1

    function my_em_bpgroup_name_placeholders($bpgroup_info, $EM_Event, $result){
    if ( $result == ‘#_BPGROUP’ ) {
    $bpgroup = groups_get_group( array( ‘group_id’ => $EM_Event->group_id) );

    $bpgroup_info = ‘

    slug.'”>’.$bpgroup->name.’</br>
    <div class=”more”>’.$bpgroup->description.'</div>’;
    }
    return $bpgroup_info;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Buddypress Group Info in Event Page’ is closed to new replies.