Looking For Something?

Menu Alerts

Purpose

If you are using the Private Messages extension, you can display the number of unread messages in your WordPress menu.

You can also add an icon alert for unread messages to your site, which is covered in the Alerts chapter earlier on.

The number of unread messages is shown in brackets on your menu by going to Appearance->Menus, and expanding the menu item to which you want to add the unread messages count.

Screenshot_2

You then simply put %m into the Navigation Label field, and save your menu. %m will then be replaced with (2) where would be replaced with the number of unread messages. If there are no unread messages, it is not shown.

You can style the output from %m with the class “wps_unread_mail_count”.

Screenshot_3

Availability

Provided in the Extensions Plugin.

Customising

Not applicable.

Options

Not applicable.

Sidebar