@allancaeg
8 years, 5 months ago
On the profile page, the count of messages, notifications, etc are displayed: https://mercime.files.wordpress.com/2015/03/bpmenu-frontlinks.jpg
Same goes for the BuddyPress header:
View post on imgur.com
BuddyPress has this menu feature:
BuddyPress Links in WordPress Menus
How do I add the notification count beside the menu item on the header navigation?
@socialc
<?php echo bp_notifications_get_unread_notification_count(bp_loggedin_user_id()); ?>
You can build your own menu using this inside to show the count.
Amazing! Thank you @socialc
@themichaelglenn
8 years, 3 months ago
I’ve built a BuddyPress specific menu (using the BuddyPress Logged In links).
In which file, and what location, do I add the code @socialc provided?
@iduy
1 year, 9 months ago
hi @sosialc where is the code placed?