wordpress - buddypress page slug for user pages -


my theme not support notification alert used code show notification count:

bp_notifications_get_unread_notification_count(bp_loggedin_user_id());

but not clickable, can please me link can paste inside the

href = ” ”

so can redirect them notification page slug ?

currently http://www.example.comh/members/rvnamb/notifications/

how can replace rvnamb logged in user id ? searched lot not find solution

try:

<a href="<?php echo bp_loggedin_user_domain() ?>notifications/">notifications</a> 

Comments