Show buddypress notification in the frontend [closed]
Put the following code in your functions.php. If you want a demo i can show you. // my custom notification menu www.cityflavourmagazine.com function my_bp_adminbar_notifications_menu() { global $bp; if ( !is_user_logged_in() ) return false; echo ‘<li id=”top-notification”>’; _e( ‘Alerts’, ‘buddypress’ ); if ( $notifications = bp_core_get_notifications_for_user( $bp->loggedin_user->id ) ) { ?> <span><?php echo count( $notifications ) … Read more