Well,
After I asked here and anybody answer me about it I got a solution for those who want to sum all notifications and show in live notification as facebook does, not just sum all “kinds” of notification as Kleo does.
1 – go to the path “\wp-content\themes\kleo\lib\plugin-buddypress”.
2 – Open the file: menu-notifications.php
3 – Replace all lines “$count = ! empty( $notifications ) ? count( $notifications ) : 0;” for
$count = ! empty( $notifications ) ? bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) : 0;
By the way, this solution has no effect if you change the files in kleo-child folder.
Attachments:
You must be
logged in to view attached files.