Customizing The Push Notification(cont.)
Next, you can scroll down and change settings for each option you want to customize. Ideally, you would want to change bell icon colors to match your own theme colors.
Sending Push Notifications from Your WordPress Site
By default, the OneSignal plugin automatically sends push notifications for all new posts published on your website. If you want , then you can turn this feature off from plugin’s settings page under “Automatic Notification Settings” section.
You can also manually send a notification when you publish or update a post. Simply edit a WordPress post or page, and you will see the OneSignal meta box on the right.
Check the box next to “Send notification on post update/ publish” and then click on update or publish button.
OneSignal will now send your article as a push notification to all your subscribers.
Send a welcome push notification to new subscribers
You can also send a welcome push notification to your new subscribers. Visit OneSignal’s settings page in your WordPress admin area and scroll down to the “Wellcome Notification Settings” section.
Now when a new subscribes for push notifications, they will receive a welcome notification on their device.
You can also send custom notification from the OneSignal app dashboard. The process is quite intuitive and you can follow onscreen instructions once you login to OneSignal.
That’s all, you have successfully added web push notifications to your WordPress site.
Why should we choose OneSignal plugin from the beginning
Benefits and features of WordPress Push Notifications:
- 100% free to use
- Unlimited WordPress push notifications
- Unlimited devices
- Delivery automation
- Full API
- Tracking with Google analytics.
It is important to choose the right web push notification service from the start. Since most providers try to lock you in their platform, changing your push notification service can result in losing your old subscribers. Meaning if you switch, then you will be starting from scratch.
We hope this article helped you learn how to add web push notifications to your WordPress site.