Skip to content

How to Set Up WordPress SMS Notifications for User Events

Texty can alert your team when a new user joins or a new comment is sent. Open the event you need and turn it on. Then choose who gets it, check the text, and save.

Make sure:

  • Texty is installed and active.
  • One SMS gateway is live.
  • Each team member has a phone in their WordPress profile.
  • You can create a test user and submit a test comment.

If your gateway is not ready, follow how to connect your first SMS gateway.

The New User Registration event runs when a new account is made. By default, it goes to the Administrator role.

Go to Texty > Notifications. Open the User Events tab.

Texty Notifications User Events tab showing the WordPress New User Registration and New Comment SMS alerts

Expand New User Registration. Turn the toggle on.

Choose the WordPress roles that should get it. Check the message and its dynamic variables.

Texty New User Registration alert settings showing recipient role checkboxes and the signup message content

Save the event.

A short signup message may look like this:

New user on {site_name}: {username} ({email}).

The New Comment event runs when a new comment is sent to your site.

Stay in Texty > Notifications > User Events. Expand New Comment. Toggle it on.

Texty New Comment alert toggled on with recipient roles and message content showing post title and comment author tags

Choose the roles that should get it. Check the message and its tags. Save the event.

A useful comment alert may look like this:

New comment on {post_title} by {author}. Review: {post_url}

The post URL may make the text long. Test it before you use this on a busy site.

Both events use roles. Texty sends the alert to each user in the chosen roles who has a saved Phone Number (Texty) value.

For example, choose Administrator and Editor to alert both teams. Each user still needs a saved phone.

See how Texty chooses SMS recipients for the profile steps and phone format.

Use the tags shown inside each event. Signup and comment alerts have their own sets.

EventCommon variables
New User Registration\{user_id}\{username}\{email}\{display_name}\{first_name}\{last_name}\{role}
New Comment\{author}\{email}\{author_url}\{comment}\{ip}\{post_id}\{post_title}\{post_url}
Both events\{site_name}\{site_url}

Do not use a comment tag in a signup alert. A signup tag will not work in a comment alert.

Test each event on its own.

Go to Users > Add New. Create a new account. Make sure the form asks for a phone number during the signup process.

Check the admin (or other roles) where the SMS is supposed to arrive. It should look like this:

Example smartphone text message showing a Texty SMS alert telling an admin that a new user has registered on the site

Open Texty > SMS Logs and find the new record.

Texty SMS Logs Log Details popup showing a sent new user registration notification with receiver and message

Go to Users > Add New. Submit a new comment on a product or post.

Check the admin (or other roles) where the SMS is supposed to arrive. It should look like this:

Open Texty > SMS Logs and find the new record.

Texty SMS Logs Log Details popup next to a smartphone showing a new blog comment notification text message

The setup works when each event makes a log and reaches a user in the chosen role.

What happenedWhat to check
No one got the alertCheck the chosen roles and each user’s Texty phone field.
The signup alert did not runMake a new account after you turn on the event.
The comment alert did not runSend a new comment after you turn on the event.
A raw tag shows in the SMSUse only the tags shown for that event.
The log shows a failed sendCheck the gateway response and the phone.
All alerts stoppedCheck the global pause control under Texty > Notifications > Settings.

No. New user and new comment alerts work with WordPress itself.

Can more than one person receive an alert?

Section titled “Can more than one person receive an alert?”

Yes. Choose more than one role, or add phones to many users in the same role.

Does the new user receive the signup alert?

Section titled “Does the new user receive the signup alert?”

The built-in event goes to the site roles you choose. It is not a welcome message for the new user.

Please follow the remaining guides to make the most out of Texty.