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 to your site's menu:
- Go to the Admin dashboard > Appearance > Menus and create a nav menu item using the link option.
- URL is to go to the user profile messaging tab. Just need to copy the URL for the private messages tab but remove the part of the URL where the username is.
- In the label option for the navigation menu item add tests such as Messages {new_messages}
- Click Add to Menu button then save the menu at the bottom part of the page.