-
Tom Swain replied to the topic Hide Notification Count When Count is 0 in the forum Creating & Extending 4 years, 7 months ago
For anyone else trying to figure this out, I didn’t find THE solution, but I did find A solution… it’s simple javascript. Wrap your notification in a div with the class “count” or whatever works for you, and hide it when its content is ‘0’.
[Read more]
<div class="count">
<?php echo bp_notifications_get_unread_notification_count( bp_loggedin_user_id() );… -
Tom Swain's profile was updated 4 years, 8 months ago
@visiondigitalaz
Active 4 years, 7 months ago