You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is no easy way that I know of to integrate push notifications with the official AMP plugin for Wordpress. Setting up notifications requires writing some custom markup (adding the amp-web-push tag with configuration properties) that doesn't get removed by the plugin automatically (perhaps you could whitelist amp HTML tags to prevent removal). The plugin doesn't provide a way to add custom code whatsoever (see support ticket: https://wordpress.org/support/topic/how-can-i-add-custom-html-in-page/).
Workaround:
The workaround currently is to add the markup via atomic blocks in each individual page or post. However, this is not optimal.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered:
@rgomezp
yes, this works with the official AMP plugin, The AMP plugin allows users to serve AMP pages, it is not purposed to serve push notifications. so it will best approach that AMP Compatability gets adopted in the OneSignal WordPress plugin.
I will try to contribute to the OneSignal WordPress plugin to make it AMP Compatible.
Feature description
Currently there is no easy way that I know of to integrate push notifications with the official AMP plugin for Wordpress. Setting up notifications requires writing some custom markup (adding the
amp-web-push
tag with configuration properties) that doesn't get removed by the plugin automatically (perhaps you could whitelist amp HTML tags to prevent removal). The plugin doesn't provide a way to add custom code whatsoever (see support ticket: https://wordpress.org/support/topic/how-can-i-add-custom-html-in-page/).Workaround:
The workaround currently is to add the markup via atomic blocks in each individual page or post. However, this is not optimal.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered: