Skip to:
Content
Pages
Categories
Search
Top
Bottom

User link to notification page


  • rvnamb
    Participant

    @rvnamb

    My theme does not support notification alert so i used this code to show the notification count:
    <?php echo bp_notifications_get_unread_notification_count(bp_loggedin_user_id()); ?>

    But it is not clickable, can someone please help me with the link that i can paste inside the
    a href = ” ” <?php echo bp_notifications_get_unread_notification_count(bp_loggedin_user_id()); ?> /a

    so that it can redirect them to their notification page slug ?

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

    how can i replace rvnamb with the currently logged in user id ? i searched a lot but could not find a solution

  • You must be logged in to reply to this topic.
Skip to toolbar