Remove notification count unless there is 1 or more notifications pending?
I’m trying to figure out the code that will make the notification count in the admin bar only appear once there is at least 1 notification pending. Right now (as you can see even here on this page) it shows up as 0 notifications when there are none. I don’t want it to show the count as 0, I want the count to be completely gone until a notification comes up (à-la facebook, twitter, etc).
I’m not using the default admin bar, I’ve implemented the notification item into my template’s custom header. I believe there could be a code I can add into my functions.php file to make this happen?
Thanks in advance!!
- You must be logged in to reply to this topic.