User, post, and page tags pull data from WordPress. Use them to greet logged-in visitors, mention the article they are reading, or show page-specific details.
New to tags? Start with What Are Dynamic Tags?.
For custom fields on users, posts, or pages, see Custom Meta Tags. For dates like "3 days ago", see Date Formatting Tags.
User tags
User tags read the currently logged-in visitor. If the visitor is a guest, most user tags stay empty.
| Tag | Shows |
|---|---|
{user_id} | User account ID |
{user_first_name} | First name |
{user_last_name} | Last name |
{user_display_name} | Display name shown on the site |
{user_email} | Email address |
{user_username} | Login username |
{user_url} | Website URL from profile |
{user_nicename} | URL-friendly slug |
{user_registered_date_...} | Registration date (see date article) |
{user_meta_FIELD} | Any user meta field (see meta article) |
Example: Welcome back, {user_first_name}!
{user_email} to all visitors on the frontend unless you have a clear reason.Post tags
Post tags use the current blog post in context (or the post selected by your notification content source).
| Tag | Shows |
|---|---|
{post_id} | Post ID |
{post_title} | Post title |
{post_content} | Full content (HTML stripped) |
{post_excerpt} | Excerpt |
{post_author} | Author display name |
{post_url} | Permalink |
{post_published_date_...} | Publish date |
{post_modified_date_...} | Last modified date |
{post_created_date_...} | Created date |
{post_meta_FIELD} | Custom post meta |
Example: Enjoying {post_title}? Subscribe for more.
Page tags
Page tags work like post tags but for WordPress pages.
| Tag | Shows |
|---|---|
{page_id} | Page ID |
{page_title} | Page title |
{page_content} | Page content (HTML stripped) |
{page_url} | Page permalink |
{page_published_date_...} | Publish date |
{page_modified_date_...} | Modified date |
{page_parent_title} | Title of the parent page |
{page_meta_FIELD} | Custom page meta |
Example: Questions about {page_title}? Chat with us.
When each tag has data
| Situation | User tags | Post tags | Page tags |
|---|---|---|---|
| Visitor on a blog post | If logged in | From that post | Empty unless page in context |
| Visitor on a static page | If logged in | Empty | From that page |
| Guest visitor | Mostly empty | From current post | From current page |
| Dynamic content source | User from context | Post from rotated pool | Page from rotated pool |
Set Content Source on the notification when tags should pull from specific posts or pages, not only the current URL.
Enable user, post, and page categories
Tags must be enabled in settings or they will not appear in the tag picker:
- Go to Notifal → Settings → Tags.
- Under Core WordPress Tags, turn on User Tags, Post Tags, and Page Tags.
- Save.
Details: Managing Tag Categories in Settings.
Post and page counters
To show how many posts or pages match your content source filters, use {post_counter} and {page_counter}. See Counter Tags.
Dynamic Tags series
| # | Article |
|---|---|
| 1 | What Are Dynamic Tags? |
| 2 | User, Post, and Page Tags (you are here) |
| 3 | WooCommerce Product and Order Tags |
| 4 | Cart Tags (WooCommerce) |
| 5 | Counter Tags |
| 6 | Custom Meta Tags |
| 7 | Date Formatting Tags |
| 8 | Comment Tags (Pro) |
| 9 | Tags Generator for Custom Post Types (Pro) |
| 10 | Managing Tag Categories in Settings |