How do i set up notifications on wordpress?

Themeisle content is free. When you purchase through referral links on our site, we earn a commission. Learn More

Catching the interest of your visitors is a tough endeavor, but nowhere near as difficult as keeping them on board for the long term. One of the newer ways to succeed in doing so is to figure out the best ways to reach users outside your website – hence the need to consider adding WordPress push notifications.

WordPress push notifications enable you to set up a direct line of communication with your audience. They’re far more straightforward than emails and are more engaging than regular campaigns. If you learn how to deploy them, they can become a huge boon to your site.

In this article, we’ll explain why WordPress push notifications are so useful. Then, we’ll guide you through the process of setting them up on your site using the free OneSignal plugin. Let’s get cracking!

What push notifications are (and why you should use them)

WordPress push notifications are simple to understand and put in place. If you’ve used either Android or iOS, you’re familiar with apps sending you notifications even when they’re closed – those are push notifications. Websites can do the same thing even if you’re not browsing them at the moment, as long as you’ve got your browser running. Here’s what a desktop notification looks like on Mac OS X:

How do i set up notifications on wordpress?

Push notifications can come in handy in several situations, like:

  • Notifying users about new posts on your website.
  • Letting subscribers know when you add a new product to your eCommerce site.
  • Making significant announcements – concerning events and such – to your user base.

Aside from these types of practical reasons, it’s worth noting that push notifications are a great tool to increase user engagement [*]. The key is to update them only concerning important stuff, so they won’t start ignoring your notifications. Don’t think about push notifications as a replacement for email lists or social media channels. They’re simply another means of direct contact, with the added benefit of being able to provide real-time updates to your visitors.

Before we jump into the technical stuff, it’s important that you back up your WordPress site. You should always do this before adding (or removing) any major features from your website, in case something goes wrong. In fact, you should be doing it regularly, even if you don’t implement any significant changes. Check out our guide on how to back up WordPress with several options.

For the purposes of this tutorial, we’ll use the OneSignal plugin to set up WordPress push notifications. It’s not the only option out there, but it’s one of our favorites. If you’d prefer to check out an alternative, take a look at the Push Notifications for WordPress plugin.

Step #1: Set up the OneSignal plugin

OneSignal is a one-stop solution for WordPress push notifications. It supports both desktop clients (Chrome, Safari, and Firefox) and Android systems (there’s no iOS support yet). Once enabled, your visitors can opt-in to receive notifications each time you publish a new post (or custom post types) through the WordPress editor or a third-party platform.

The first thing we need to do is install and activate the plugin as per usual:

How do i set up notifications on wordpress?

When that’s done, a OneSignal Push tab will appear in your WordPress dashboard. Click on it, and you’ll be redirected to a setup tab to finish configuring the plugin. Read through the Overview and then head to the Chrome & Firefox Push tab:

How do i set up notifications on wordpress?

The plugin includes step by step instructions (with screenshots) for adding both services, so it would be redundant to repeat them here. Follow the procedures for Chrome and Firefox, and then head to the Safari Push tab if you want to add those notifications as well. Safari notifications only work on the macOS version, though, so keep that in mind.

With that out of the way, let’s go about adding WordPress push notifications to our website.

Step #2: Configure automatic notifications

As I mentioned earlier, OneSignal WordPress push notifications only appear when you publish new content to your site. That includes both regular posts and custom post types. The plugin enables you to set up notifications manually by ticking a box next to the WordPress editor on your posts:

How do i set up notifications on wordpress?

If you’d rather automate this process, go to OneSignal Push > Configuration in your WordPress dashboard. Now scroll down and locate the Automatic Notification Settings section.

How do i set up notifications on wordpress?

Turn on the first option, as seen above, et voilà. Your subscribers will automatically receive notifications each time you publish a new post. You can also replace the default OneSignal logo on the notifications with your post’s featured images, by heading up to the Sent Notification Settings section:

How do i set up notifications on wordpress?

Enable the corresponding option, and you’re all set!

Now it’s time to configure an opt-in for our notifications.

Step #3: Add a notification opt-in

Our WordPress push notifications are ready to go, but we’ve still got one step to complete. Before users start receiving notifications, they need to agree or opt into the program (hence the term ‘opt-in‘). Here what a OneSignal opt-in looks like on Safari:

How do i set up notifications on wordpress?

To do this, let’s return to OneSignal Push > Configuration. Inside, locate the Prompt Settings & Notify Button section:

How do i set up notifications on wordpress?

The setting we need to turn on is first on the list: Automatically prompt new site visitors to subscribe to push notifications. Do so and then feel free to play around with the rest of the settings next to it. The Notify button option, for example, enables a small notification button in the bottom right corner of your site, which enables users to check recent notifications.

Conclusion

WordPress push notifications are an effective tool that can increase your site’s engagement with little effort. As long as you keep producing quality content, it stands to reason that users will be interested in checking it out – all you’re doing is providing them with the occasional reminder to do so.

If that sounds like a winning formula to you, here are the steps you need to know to add WordPress push notifications to your site:

  1. Install the OneSignal plugin.
  2. Configure automatic notifications using the plugin.
  3. Set up a notification opt-in for your visitors.

What do you think about WordPress push notifications – are they a gimmick or a useful tool? Share your opinions with us in the comments section below!

Free guide

5 Essential Tips to Speed Up Your WordPress Site

Reduce your loading time by even 50-80%
just by following simple tips.

Download free guide

How do I get WordPress to notify me of updates?

For WordPress themes, you can visit the Appearance » Themes page and click on a theme. This will bring up a theme information popup where you can click on 'Enable auto-updates' for that theme. WordPress will send you an email notification when any of your plugins, theme, or WordPress core is updated.

How do I set up notifications for a website?

Change your default notifications settings.
On your computer, open Chrome ..
At the top right, click More. Settings..
Click Privacy and security Site Settings. Notifications..
Select the option you want as your default setting. Block a site: Next to "Not allowed to send notifications," click Add. Enter the site's web address..

How do you add a notification bar to WordPress?

Installation.
Download the .zip package..
Unzip into the subdirectory 'wpfront-notification-bar' within your local WordPress plugins directory..
Refresh plugin page and activate plugin..
Configure plugin using settings link under plugin name or by going to WPFront/Notification Bar..