How to add unread message notification on site menu?
Private messages extension has its own unread message system where you can add {new_messages} tag to a navigation menu item which will then show the number of unread messages in the navigation menu. Here are the steps on adding message notification on your site's menu:
- Go to the Admin dashboard > Appearance > Menus and create a nav menu item using link option.
- URL is to go to user profile messaging tab. Just need to copy the URL for the private messages tab but remove the part of URL where the username is.
- In label option for the navigation menu item add test such as: Messages {new_messages}
- Click Add to Menu button then save menu at the bottom part of the page.