Plugin: BuddyPress Followers

Join this plugin group to follow comments, support topics and reviews.

Follow Button Not Showing In User Profile (5 posts)

Started 4 months ago by: Fanoop

  • Profile picture of Fanoop Fanoop said 4 months ago:

    I am having an issue with my theme not showing the “follow” button under the users profile. It is working correctly if I switch to the BuddyPress default. My theme developer was not sure what is causing the issue and pointed me to this forum.

    Can anyone point me in the correct direction to get the button to display?

  • Profile picture of @mercime @mercime said 4 months ago:

    Looks like your theme is missing the template hook for the button http://buddypress.trac.wordpress.org/browser/tags/1.5.3.1/bp-themes/bp-default/members/single/member-header.php#L47

  • Profile picture of Fanoop Fanoop said 3 months, 4 weeks ago:

    I am not really a programmer so I am not exactly sure what code goes where. I was able to find the following code in my theme’s template-bp-members-single-plugins.php file:

    <div id="item-header">
    	<?php locate_template( array( 'members/single/member-header.php' ), true ) ?>
    </div>

    By looking at this I would think that it is calling that header as is in the plugin. Any advice on what code I can add to fix?

  • Profile picture of r-a-y r-a-y said 3 months, 3 weeks ago:

    Mercime pointed you to the hook that you might be missing in your theme’s member-header.php:

    <?php do_action( 'bp_member_header_actions' ); ?>

    If you don’t have that line, add it somewhere in member-header.php and it should show up.

  • Profile picture of Fanoop Fanoop said 3 months, 3 weeks ago:

    Got it working now. Thanks for the help!