WordPress.org

Support

Support » Plugins and Hacks » BuddyPress Follow » follow buttons appear at the top of my page

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

    bp_follow_add_follow_button()
    bp_follow_add_listing_follow_button()

    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();
                endwhile;
            endif;
            $output .='</ul>';

    please help!!! :\

    http://wordpress.org/plugins/buddypress-followers/

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

    @r-a-y

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

    Try:

    bp_follow_get_add_follow_button()

    Hey,
    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…
    thanks

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.
Skip to toolbar