Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

FCM Push Notification from WP

Описание

Notifications for posts, pages and custom post types.

Works with scheduled posts.

Send notifications to users of your app from your website using Google’s service, Firebase Push Notification.

The notification sent includes the block with the data message to be handled by the application, even when it is in the background.

Configure the plugin to start sending notifications.

Send custom field values ​​in the notification, in the data option.

Send a notification when you post news or update your content. When editing, the option is deselected to send you to accidentally send a new notification. Check if you want to send a new notification when editing.

Compatible with apps developed with the SDK Flutter.

You need to register users on the same topic (fcm) that was informed in the plugin configuration. This plugin is not intended for sending notifications to websites.

Support my work
https://www.buymeacoffee.com/dprogrammer

Скриншоты

  • Plugin settings screen.
  • Sending from a post.
  • Sending from a custom post type.
  • Sending from a page.
  • Sending from a scheduled post.
  • Notification and data message fields.
  • Test performed using WordPress 5.8.1. Opening the notification within the app.
  • Test performed using WordPress 5.8.1. Notification being displayed when the app is closed.

Установка

  1. Upload the plugin files to the /wp-content/plugins/fcm-push-notification-from-wp directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the Settings->FCM Push Notification from WordPress screen to configure the plugin.
  4. In the FCM Options put the FCM API Key and put the topic name registered in your app.
  5. Optionally put the image url to display in the notification.

Часто задаваемые вопросы

Does it work with scheduled posts?

Yes. When a post changes the status from scheduled to published, a notification is sent. If the option was checked when saving the post.

Can I send to one user only?

No. You can only send to the topic informed in the plugin configuration.

All users receive notification.

Can I disable sending on the publication screen?

Yes. Uncheck the checkbox to not send a notification.

Can I send to my site user?

No. sends only to users who are using your android/ios app.

Отзывы

21.12.2021 1 ответ
You need an API key yet they can't even be bothered to list a website or link it within the plugin settings. Absolutely baffling!
16.11.2021
Kudos to the developer for this amazing plugin. Works right off the bat!
27.04.2021 1 ответ
Thank you for developers. Translated into Japanese please check
04.02.2021
Plugin works great when correctly setup. Could do with some more documentation about how to configure and would be amazing if you could have more options to customise the plugin to your needs. Dev is helpful with responding to support requests.
Посмотреть все 5 отзывов

Участники и разработчики

«FCM Push Notification from WP» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«FCM Push Notification from WP» переведён на 2 языка. Благодарим переводчиков за их работу.

Перевести «FCM Push Notification from WP» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0.0

  • First version.

1.1.0

  • Bug fixes.

1.2.0

  • Bring the option unchecked when editing a post.

1.3.0

  • Sending notification for scheduled posts.
  • Bug fixes.

1.4.0

  • Bug fixes. Two notifications were sent when sending.

1.5.0

  • Bug fixes. this plugin was not sending the permalink when editing a post. Solution sent by @alchmi. Thanks.

1.6.0

  • Included routine to remove visual composer tags from page and post text.

1.7.0

  • Included the Sound field in the configuration. If empty, the name of the sound will be «default».

1.8.0

  • Bug fixes.

1.9.0

  • Option to take values ​​from custom fields and include in data area.
  • Fixed text notifications display with ‘.
  • Fixed notification display when using Divi theme.