These days, our phones are in our pockets all the time. Yes, phones as in multiple ones, is it just me?
Back to the main subject, most of the time you have your phone with you and you are out of the house doing your job and all you can think about is your precious WordPress site and what’s happening with it. Again, it’s not just me, right?
When I am out, I like to always know whenever a new plugin, theme or core update is available. Whether someone managed to log in to my account, edited something without my permission or when an article is published on schedule.
You can push all of these notifications easily to your phone and as a bonus, they can all be pushed to your Slack channel, which is what I do.
Let’s dive into this Slack Notifications by dorzki WordPress Plugin Review and learn How to integrate Slack with WordPress. #
All of the things that I mentioned above can be achieved with a single plugin. A single slack webhook and all done by a single developer that goes by the name of Dor Zuberi
The plugin Slack Notifications by dorzki sends notifications from your WordPress site to your Slack channel when triggered by an action.
Here’s the full list of triggers:
- WordPress Core Update Available?
- Theme Update Available?
- Plugin Update Available?
- User Registered
- Administrator Logged In
- Post Published
- Post Scheduled
- Post Pending
- Post Updated
- Page Published
- Page Scheduled
- Page Pending
- Page Updated
- New Comment
- New Order
- Order Status: Completed
- Order Status: Pending
- Order Status: Processing
- Order Status: On Hold
- Order Status: Cancelled
- Order Status: Refund
- Order Status: Failed
- New Order Note
- Product Low Stock
- Product Out of Stock
It’s really easy to setup and the plugin is ready to send notifications to your Slack channel.
Useful Links before you start: #
Below is a step by step guide on How to integrate Slack with WordPress using Slack Notifications by dorzki.
Slack: Adding a custom integration to a Slack channel and generating a Webhook. #
Step 1 #
Open the Slack channel you want to receive the notification in and on the top menu, click on the gear icon.
Step 2 #
Add an app
Step 3 #
In the top menu, click on
Step 4 #
Custom Integration and then on
Step 5 #
On the left side, click on
Step 6 #
Make sure that the channel you want to receive your notifications in is selected and then click on
Add Incoming Webhooks Integration
Step 7 #
Scroll down to
Here, you will have everything you need:
- Webhook URL
- Customize Name
- Customize Icon
Edit the last two with what you want and make sure to click on Copy URL under the Webhook URL.
WordPress: Installing the plugin and configuring it #
Step 1 #
Go to Plugins > Add New
Step 2 #
Search for Slack Notifications by dorzki. Install & Activate it.
Step 3 #
Click on Slack Notifications in the admin menu then on General
Step 4 #
Fill in all the following info:
- Webhook URL *Paste the Webhook URL we copied in step 7.
- Default Channel
- Bot Name
- Bot Image
Click on Save Changes then click on Run Test
🍕 Mmmmmmm.... Pizzzzzzzzzzzzzzzzzzzzzzza!!!
Step 5 #
Go to Slack Notifications > Notifications
Click on Add New
Then open the New Notification box and choose:
- Notification Type
- Notification Options
Once you’re done, click on Save Notifications
Click on the images below to see notification examples:
It wasn’t that hard. Right?
Now, no matter where you are, as long as you have your phone with you, you will receive notifications from your WordPress site about the things that you normally wouldn’t know of until you sign in to your admin dashboard.
The next time there’s an urgent update for WordPress core, you will be the first to know when it’s available. And, if you followed my previous article How to Enable automatic WordPress update then you will be good to go. You should receive a secondary notification telling you that an update was made.
Also, if an update broke something on your site, DON’T PANIC, you can easily learn How to Roll Back WordPress Themes and Plugins.
I, as always couldn’t help my self but to encounter a bug in the plugin’s code and I contacted Dor, the developer of the plugin. He managed to locate the bug which was an incompatibility issue with the Two-Factor WordPress Plugin and fixed it in one day.
As you can see, the plugin works, the developer is available to help you with any issue that you might encounter and it’s still in development. Actually, version 2.0 was released on 02/02/18.
So go ahead, download it and receive all the important notifications from your WordPress site right on your phone.