{"_id":"55af4dd5826d210d00041e2d","user":"55a79a4d4a33f92b00b7a111","__v":3,"version":{"_id":"5540ce1c31827a0d007ab1cf","project":"5540ce1b31827a0d007ab1cc","__v":31,"createdAt":"2015-04-29T12:27:08.390Z","releaseDate":"2015-04-29T12:27:08.390Z","categories":["5540ce1c31827a0d007ab1d0","5540d91bbb9e762d00f594ad","5540e5f131827a0d007ab212","5540e5febb9e762d00f594d3","5540e61331827a0d007ab213","5540e6195cf9682100d61afa","5540e62631827a0d007ab214","5540e63031827a0d007ab215","5540e63531827a0d007ab216","5540e63e5cf9682100d61afc","5540e6445cf9682100d61afd","5540e64a5cf9682100d61afe","55a4ff5b2e70c0250038050f","55acb28318eefd0d0071d504","55ae1abe8576b92300291c80","55ae453ef302af23000ac109","55af586d555b900d0036d296","55af91dac8a85321007a53c3","55b9fee204775a2f00628071","55b9ff0e04775a2f00628072","55b9ff4604775a2f00628073","55b9ff5fd72d1e1900276a38","55b9ff7f04775a2f00628074","55b9ff90eb08801900f833e5","55b9ffa5d72d1e1900276a39","55b9ffca04775a2f00628075","55b9fffdd72d1e1900276a3a","56bc2f033ee9e70d008b46af","56c2f6efbbf9ec2d00e0fe4f","57595bbb18760817001e8bbe","57d8d9793916800e003dde53"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5540e64a5cf9682100d61afe","__v":1,"version":"5540ce1c31827a0d007ab1cf","pages":["55af4dd5826d210d00041e2d"],"project":"5540ce1b31827a0d007ab1cc","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-29T14:10:18.805Z","from_sync":false,"order":14,"slug":"wordpress","title":"Wordpress"},"project":"5540ce1b31827a0d007ab1cc","parentDoc":null,"updates":["56982cb9bacbc30d00b5b30f"],"next":{"pages":[],"description":""},"createdAt":"2015-07-22T08:01:25.614Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"[**Download Plugin**](http://downloads.wordpress.org/plugin/push-notifications.zip)\n\nWith [Push notifications](http://wordpress.org/plugins/push-notifications/) plugin for WordPress you can send push notifications when you publish or update a post or a page.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Installation\"\n}\n[/block]\n**1.** [Download](http://downloads.wordpress.org/plugin/push-notifications.zip) the pushwoosh plugin\n\n**2.** Unzip and upload to your plugins directory (“/wp-content/plugins/” is default)\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Configuration\"\n}\n[/block]\nConfigure the plugin on the settings page in your WordPress admin dashboard:\n\n**1.** Set your Pushwoosh Application Code as given in your Pushwoosh Control Panel\n**2.** Copy-paste your Remote API authorization token from your Pushwoosh Control Panel\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/oHnBDd4tQBihpSgWAUgp_Screen-Shot-2013-12-18-at-22.02.02.png\",\n        \"Screen-Shot-2013-12-18-at-22.02.02.png\",\n        \"769\",\n        \"341\",\n        \"#8d573b\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nYou are all set!\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Using the plugin\"\n}\n[/block]\nTo notify your users when you publish a post, type the message in “Message field” and make sure that “Send a push notification when the post is updated” in is checked.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/7XMlDMIBSRS2UlMi1mAm_Screen-Shot-2013-12-18-at-21.31.43.png\",\n        \"Screen-Shot-2013-12-18-at-21.31.43.png\",\n        \"442\",\n        \"266\",\n        \"#7099c6\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"Make sure you specified the push title in the “Safari Title” field, otherwise your Safari subscribers won't receive the notification.\\nThe plugin automatically uses a shortened URL in the *?p=12345* format instead of a placeholder you set in Safari Configuration section in Pushwoosh. Thus, in Safari settings,  specify the URL Template and placeholder as **http://youwebsite.com/%:::at:::**, so that the resulting URL will be http://youwebsite.com/?p=12345\",\n  \"title\": \"Note\"\n}\n[/block]\nSpecial thanks to Rafael Fischmann for his help with testing and debugging the plugin.","excerpt":"","slug":"wordpress-plugin","type":"basic","title":"WordPress plugin"}
[**Download Plugin**](http://downloads.wordpress.org/plugin/push-notifications.zip) With [Push notifications](http://wordpress.org/plugins/push-notifications/) plugin for WordPress you can send push notifications when you publish or update a post or a page. [block:api-header] { "type": "basic", "title": "Installation" } [/block] **1.** [Download](http://downloads.wordpress.org/plugin/push-notifications.zip) the pushwoosh plugin **2.** Unzip and upload to your plugins directory (“/wp-content/plugins/” is default) [block:api-header] { "type": "basic", "title": "Configuration" } [/block] Configure the plugin on the settings page in your WordPress admin dashboard: **1.** Set your Pushwoosh Application Code as given in your Pushwoosh Control Panel **2.** Copy-paste your Remote API authorization token from your Pushwoosh Control Panel [block:image] { "images": [ { "image": [ "https://files.readme.io/oHnBDd4tQBihpSgWAUgp_Screen-Shot-2013-12-18-at-22.02.02.png", "Screen-Shot-2013-12-18-at-22.02.02.png", "769", "341", "#8d573b", "" ] } ] } [/block] You are all set! [block:api-header] { "type": "basic", "title": "Using the plugin" } [/block] To notify your users when you publish a post, type the message in “Message field” and make sure that “Send a push notification when the post is updated” in is checked. [block:image] { "images": [ { "image": [ "https://files.readme.io/7XMlDMIBSRS2UlMi1mAm_Screen-Shot-2013-12-18-at-21.31.43.png", "Screen-Shot-2013-12-18-at-21.31.43.png", "442", "266", "#7099c6", "" ] } ] } [/block] [block:callout] { "type": "info", "body": "Make sure you specified the push title in the “Safari Title” field, otherwise your Safari subscribers won't receive the notification.\nThe plugin automatically uses a shortened URL in the *?p=12345* format instead of a placeholder you set in Safari Configuration section in Pushwoosh. Thus, in Safari settings, specify the URL Template and placeholder as **http://youwebsite.com/%@**, so that the resulting URL will be http://youwebsite.com/?p=12345", "title": "Note" } [/block] Special thanks to Rafael Fischmann for his help with testing and debugging the plugin.