WordPress.org

Forums

BP Show Friends
[resolved] how to show total friends count beside Friends (2 posts)

  1. Prince Abiola Ogundipe
    Member
    Posted 2 years ago #

    Hi. Thanks for this great plugin and your good work towards the bp community. Please, how can i show total friends count beside widget title e.g Friends (10) have tried echo get friend count but it shows nothing.

    Thanks for your help

    http://wordpress.org/extend/plugins/bp-show-friends/

  2. imath
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,
    thanks for your interest of this plugin :)

    You can try to add at the end of the bp_show_friends_widget_list() function this code just after line 112 :
    <p>Friends ( <?php echo friends_get_total_friend_count( $user_id );?> )</p>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BP Show Friends
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.