Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
| Obě strany předchozí revize Předchozí verze | |||
|
skoda-ep:modules:messenger_bot_module:setup [29.03.2018 06:07] jan.lorenc [Setup credentials in wordpress] |
skoda-ep:modules:messenger_bot_module:setup [29.03.2018 06:16] (aktuální) jan.lorenc |
||
|---|---|---|---|
| Řádek 70: | Řádek 70: | ||
| * Send from all categories => check to send notifications from all published posts. Otherwise only notifications from particular category new posts will be sent | * Send from all categories => check to send notifications from all published posts. Otherwise only notifications from particular category new posts will be sent | ||
| - | ==== Inserting Shortcode into Page ==== | ||
| - | FB messenger bot plugin needs to be inserted into page, to display optin button for users on frontend. | ||
| - | |||
| - | In visual editor use shortcode plugin button | ||
| - | |||
| - | {{:skoda-ep:modules:fb-app-5.png?600|}} | ||
| - | |||
| - | Or in texteditor shorcode: | ||
| - | |||
| - | ''[fb-msg-optin msg="Optin for notification!"]'' | ||
| - | |||
| - | msg => This message displayed on fronend above optin fb button | ||
| - | |||
| - | {{:skoda-ep:modules:fb-app-6.png?200|}} | ||
| - | |||
| - | ==== Publishing post with notification ==== | ||
| - | |||
| - | When publishing new post (or updating older one, which was not notified by FB messenger bot) | ||
| - | check "Send one-time publish notification" option. | ||
| - | |||
| - | {{:skoda-ep:modules:page_publish.png?200|}} | ||
| - | |||
| - | After publishing/updating, all users opted for selected main category will be notified. In case that wordpress doesn't include "main category" function, notifications will be sent to all assigned post categories. | ||
| - | |||
| - | Notifications for each post will by sent only once. | ||