Hi myladeybugg,
I will try to add this features in the next version.
Thanks.
Hey Meg,
Thank you for getting back to me! I almost have the follow button displaying in my sidebar, but am still having some issues. I took this code from the follow-loop.php file, but it displays follow buttons for all sites registered:
<?php do_action( 'bp_before_follow_loop' ); ?>
<?php do_action( 'bp_before_members_loop' ); ?>
<?php if ( bp_has_members ( bp_ajax_querystring( 'follow' ) ) ): ?>
<?php do_action( 'bp_before_directory_members_list' ); ?>
<ul id="members-list" class="item-list" role="main">
<?php while ( bp_members() ) : bp_the_member(); ?>
<li>
<div class="action">
<?php do_action( 'bp_directory_members_actions' ); ?>
</div>
<div class="clear">
</div>
</li>
<?php endwhile; ?>
</ul>
Is there a way to tweak this to display just the current users follow button, like on the profile page? The follow, unfollow function is working properly with the code above as well.
Hi myladeybugg,
I dont understand realy what you want exactly. If you want to add a follw button in any place ( for example in the blog of a member in the case of Multi site) ?
If yes, you can add this ligne at the end of the file bp-follow-template.php
add_shortcode('bp_follow_me', 'bp_follow_get_add_follow_button');
to create a shortcode, then you can use this shortcode [bp_follow_me] any where (it work only in buddypress page )
please check if it work in multi site and feed back.
Thanks.