dorzki / slack-notifications

Get WordPress notifications to your team's Slack channel.
https://wordpress.org/plugins/dorzki-notifications-to-slack/
GNU General Public License v3.0
41 stars 27 forks source link

Filtering Notifications by Post Type, Custom Post, Post Tag / Taxonomy #36

Open arretx opened 5 years ago

arretx commented 5 years ago

Love the plugin, but would definitely like to be able to do the following:

I have a single page called Change Log. I add the latest changes to the top of the page. I'd like to be able to tick a box on that page that would tell the Slack Notification plugin to send an update, but only if that box is ticked.

That's the idea.

arretx commented 5 years ago

Update:

I've worked around the problem without using the plugin by using a custom post type, allowing categorization of the custom post type, then creating an RSS feed for just that post category. When the document is updated, the feed changes, but only includes that single item. When the feed changes, whatever is monitoring the feed is triggered to notify. Home Assistant (Home-Assistant.io) is monitoring those feeds and then integrates with Slack to fire off a specific notification to the right channel.

DorZuberi commented 5 years ago

Hi @arretx, I can add the option to ignore the current page, when you will check it no matter what notifications are configured, the page will be excluded.

What do you think?