Real-time Notifications Shortcodes


This document provides instructions on how to use shortcodes and patterns of the Real-time Notifications extension.



You may use shortcodes in the posts content and widgets


Usage: Show a list of notifications for current user

Attributes: none


Usage: Show button that open/close "Notifications" sidebar

Default attributes:

  • static => 1,                       // button position is fixed (0) or static (1)
  • hide_if_no_unread => 1, // show button always (0) or if there are unread notifications (1)


Usage: Show a number of unread notifications

Attributes: none

Menu patterns

You may use patterns in the menu title


Usage: Show button that open/close "Notifications" sidebar