2018-04-19 17:45:52 +02:00
|
|
|
Get WordPress notifications in Zulip!
|
2017-06-14 06:20:41 +02:00
|
|
|
|
2018-04-19 17:45:52 +02:00
|
|
|
If you're hosting your WordPress blog yourself (i.e., not on WordPress.com),
|
|
|
|
first install the
|
|
|
|
[HookPress plugin](https://wordpress.org/plugins/hookpress/) (experimental).
|
2017-06-14 06:20:41 +02:00
|
|
|
|
2018-04-19 17:45:52 +02:00
|
|
|
1. {!create-stream.md!}
|
2017-06-14 06:20:41 +02:00
|
|
|
|
2022-06-26 02:38:55 +02:00
|
|
|
1. {!create-bot-construct-url.md!}
|
2017-06-14 06:20:41 +02:00
|
|
|
|
2018-04-19 17:45:52 +02:00
|
|
|
**Important:** The HookPress plugin requires URL parameters to
|
|
|
|
be delimited by semicolons instead of ampersands. If you have a
|
|
|
|
self-hosted blog, replace every `&` with `;` in the URL above.
|
2017-06-14 06:20:41 +02:00
|
|
|
|
2018-04-19 17:45:52 +02:00
|
|
|
1. Go to
|
|
|
|
`https://YOUR-WORDPRESS-BLOG/wp-admin/options-general.php?page=webhooks`,
|
|
|
|
after replacing `YOUR-WORDPRESS-BLOG` appropriately. Click **Add webhook**.
|
2017-06-14 06:20:41 +02:00
|
|
|
|
2018-04-19 17:45:52 +02:00
|
|
|
1. Select the **Action** that you'd like to be notified about, along with
|
|
|
|
the corresponding **Fields**. The list of currently supported actions is:
|
2017-06-14 06:20:41 +02:00
|
|
|
|
2018-04-19 17:45:52 +02:00
|
|
|
* **publish_post**: Use fields *post_title*, *post_type*, and *post_url*
|
|
|
|
* **publish_page**: Use fields *post_title*, *post_type*, and *post_url*
|
|
|
|
* **user_register**: Use fields *display_name* and *user_email* (available on self-hosted blogs only)
|
|
|
|
* **wp_login**: Use field *user_login* (available on self-hosted blogs only)
|
2017-06-14 06:20:41 +02:00
|
|
|
|
2018-04-19 17:45:52 +02:00
|
|
|
1. Set **URL** to the URL constructed above, and click **Add new webhook**.
|
2017-06-14 06:20:41 +02:00
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
|
|
|
![](/static/images/integrations/wordpress/wordpress_post_created.png)
|