Support » Plugin: BuddyPress Follow » follow buttons appear at the top of my page

  • hello
    i am trying to impplant the button in my custom loops,
    unfortunately i always get the buttons in the wrong place.

    i have tried using the hooks


    and it always puts the buttons before my loop, at the top of the page..
    i really need help ASAP with that.

    for example, i am trying to put the code at:

    $output .= '<ul class="item-list kleo-bp-newest-members" style="display:none;">';
        ;if ( bp_has_members( 'type=newest' ) ) : while ( bp_members() ) : bp_the_member();
                $output .= section_members_li();
            $output .='</ul>';

    please help!!! :\

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author r-a-y


    Since you’re returning the contents, you need to use the correct function that returns the information instead of echoing.



    Thanks for the reply,
    I tried it now but sadly it’s still gives me the same issue,
    each button goes up to top of the post…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘follow buttons appear at the top of my page’ is closed to new replies.