Reply To: Hide count – please help a PHP newbie
if ( bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) != 0 )
$notif .= '<li class="notify"><a href=" ' .$notif_url. ' ">Notifications <div class="notifynumber topnavcount">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ).'</div></a></li>';
else
$notif .= '<li class="notify"><a href=" ' .$notif_url. ' ">Notifications</a></li>';