{"id":548,"date":"2017-08-17T08:20:34","date_gmt":"2017-08-17T08:20:34","guid":{"rendered":"https:\/\/demos.welaunch.io\/fire-push\/?post_type=faq&#038;p=548"},"modified":"2018-08-07T06:03:43","modified_gmt":"2018-08-07T06:03:43","slug":"setup","status":"publish","type":"faq","link":"https:\/\/demos.welaunch.io\/wordpress-fire-push\/faq\/setup\/","title":{"rendered":"Setup the Plugin"},"content":{"rendered":"[vc_row][vc_column][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][vc_column_text]\n<h2 id=\"index\">Index<\/h2>\n<ol>\n<li><a href=\"#general-settings\">General Settings<\/a><\/li>\n<li><a href=\"#credentials\">Credentials<\/a><\/li>\n<li><a href=\"#defaults\">Defaults<\/a><\/li>\n<li><a href=\"#popup\">Popup<\/a><\/li>\n<li><a href=\"#welcome\">Welcome<\/a><\/li>\n<li><a href=\"#custom\">Custom Notifications<\/a><\/li>\n<li><a href=\"#wp-notifications\">Automatic WordPress Notifications<\/a><\/li>\n<li><a href=\"#woo-new-product\">Woo New Product\u00a0Notifications<\/a><\/li>\n<li><a href=\"#woo-price-drop \">Woo Price Drop Notifications<\/a><\/li>\n<li><a href=\"#woo-new-order\">Woo New Order Notifications<\/a><\/li>\n<li><a href=\"#woo-low-stock\">Woo Low Stock Notifications<\/a><\/li>\n<li><a href=\"#subscribers\">Subscribers Notifications<\/a><\/li>\n<li><a href=\"#notifications\">Notifications Notifications<\/a><\/li>\n<\/ol>\n[\/vc_column_text][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row content_placement=&#8221;top&#8221; personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221;][vc_column width=&#8221;1\/2&#8243;][vc_column_text]\n<h2>Settings Menu<\/h2>\n<p>In order to setup the plugin you should be able to see the Fire Push menu in your admin panel. If you can not see this menu make sure the Redux Framework plugin is installed and activated.[\/vc_column_text][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_single_image image=&#8221;1474&#8243; img_size=&#8221;medium&#8221; alignment=&#8221;right&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;general-settings&#8221;][vc_column][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][vc_column_text]\n<h2>General Settings<\/h2>\n<p>In the general settings part you can enable our plugin. You can also disable to save guest tokens here:\u00a0Tokens are used to send notifications to users. If you do not want to send notifictions to logged out users disable this option to only save tokens for logged in users.[\/vc_column_text][vc_single_image image=&#8221;1486&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1532607175569{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;credentials&#8221;][vc_column][vc_column_text]\n<h2>Firebase Credentials<\/h2>\n<p>In the credentials tab you need to enter the credentials you copied from our <a href=\"https:\/\/demos.welaunch.io\/fire-push\/documentation\/faq\/firebase\/\">previous article, where we created a firebase project<\/a>.[\/vc_column_text][vc_single_image image=&#8221;1487&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1532607349527{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;defaults&#8221;][vc_column][vc_column_text]\n<h2>Default Notification Settings<\/h2>\n<p>The default notification settings will be used when no special setting is specified. An example: If you leave out a custom icon on published posts notifications, the default icon will be used.[\/vc_column_text][vc_single_image image=&#8221;1488&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1532607446714{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;popup&#8221;][vc_column][vc_column_text]\n<h2>Popup<\/h2>\n<p>In the popup tab you can configure how the popup, that displays for the user to get their notification permission, should look like. You can set a position like top or bottom, a style like full or small width and you can configure the texts and colors.[\/vc_column_text][vc_single_image image=&#8221;1489&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1532607549218{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;welcome&#8221;][vc_column][vc_column_text]\n<h2>Welcome Message<\/h2>\n<p>You can enable a custom welcome message if a user has given his permission to receive push notifications from your website. Something like &#8220;thanks for subscribing to our website&#8221;.[\/vc_column_text][vc_single_image image=&#8221;1490&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1532607643943{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;custom&#8221;][vc_column][vc_column_text]\n<h2>Custom Notification<\/h2>\n<p>Send custom push notifications with entering title, text and a link URL. Then click on save and then send.<\/p>\n<p><strong>You need to save settings before you click on save<\/strong>[\/vc_column_text][vc_single_image image=&#8221;1491&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1532607759145{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;wp-notifications&#8221;][vc_column][vc_column_text]\n<h2>WordPress Notifications<\/h2>\n<p>In total you can create 4 custom, automatic WordPress Notifications. You can set if a notification should be sent out when a new post is published, updated or a new comment was made. Furthermore you can set the post types the messages should apply to and to who roles it should be sent to.<\/p>\n<p>Also you can seta dynamic title, text and URL based on ALL posts data &amp; meta data. We used to get the full post object, post meta &amp; comment data (if is comment), that you can use.[\/vc_column_text][vc_single_image image=&#8221;1531&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1533621867935{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;woo-new-product&#8221;][vc_column][vc_column_text]\n<h2>WooCommerce New Product Notification<\/h2>\n<p>Configure if you want to send automatic notifications every time a new product is created.[\/vc_column_text][vc_single_image image=&#8221;1494&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1532607981777{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;woo-price-drop&#8221;][vc_column][vc_column_text]\n<h2>WooCommerce Price Drop Notification<\/h2>\n<p>Configure if you want to send automatic notifications every time a price of a\u00a0 product has dropped.[\/vc_column_text][vc_single_image image=&#8221;1495&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1532608024877{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;woo-new-order&#8221;][vc_column][vc_column_text]\n<h2>WooCommerce New Order Notification<\/h2>\n<p>Configure if you want to send automatic notifications every time a new Order has been created. This will only be sent to admins &amp; shop managers.[\/vc_column_text][vc_single_image image=&#8221;1496&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1532608081789{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;woo-low-stock&#8221;][vc_column][vc_column_text]\n<h2>WooCommerce Low Stock Notification<\/h2>\n<p>Configure if you want to send automatic notifications every time a product is on low stock. This will only be sent to admins &amp; shop managers.[\/vc_column_text][vc_single_image image=&#8221;1497&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1532608114065{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;subscribers&#8221;][vc_column][vc_column_text]\n<h2>Subscribers<\/h2>\n<p>In the subscribers menu page you will see all users + guest users including their token you got for sending push notifications.[\/vc_column_text][vc_single_image image=&#8221;1498&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1532608172704{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row][vc_row personalization_rules=&#8221;%5B%7B%22country%22%3A%22AF%22%2C%22recurring_day%22%3A%220%22%2C%22start_date%22%3A%222017-08-22%22%2C%22start_time%22%3A%2200%3A00%22%2C%22end_date%22%3A%222017-08-22%22%2C%22end_time%22%3A%2223%3A55%22%2C%22device_type%22%3A%22computer%22%2C%22user_name%22%3A%224%22%2C%22user_cap%22%3A%22switch_themes%22%2C%22user_role%22%3A%22administrator%22%2C%22visits_minimum%22%3A%22100%22%2C%22visits_maximum%22%3A%22200%22%7D%5D&#8221; el_id=&#8221;notifications&#8221;][vc_column][vc_column_text]\n<h2>Sent Notifications<\/h2>\n<p>In the notifications menu page you will see all notifications, that have been sent out. You also see how many were successful and how many failed.[\/vc_column_text][vc_single_image image=&#8221;1499&#8243; img_size=&#8221;large&#8221; add_caption=&#8221;yes&#8221; style=&#8221;vc_box_outline&#8221; onclick=&#8221;link_image&#8221; css=&#8221;.vc_custom_1532608227003{margin-top: 20px !important;}&#8221;][vc_separator css=&#8221;.vc_custom_1503397814327{margin-top: 30px !important;margin-bottom: 30px !important;}&#8221;][\/vc_column][\/vc_row]\n","protected":false},"author":1,"featured_media":0,"menu_order":10,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-548","faq","type-faq","status-publish","hentry","faq_topics-getting-started"],"_links":{"self":[{"href":"https:\/\/demos.welaunch.io\/wordpress-fire-push\/wp-json\/wp\/v2\/faq\/548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demos.welaunch.io\/wordpress-fire-push\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/demos.welaunch.io\/wordpress-fire-push\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/demos.welaunch.io\/wordpress-fire-push\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demos.welaunch.io\/wordpress-fire-push\/wp-json\/wp\/v2\/comments?post=548"}],"version-history":[{"count":4,"href":"https:\/\/demos.welaunch.io\/wordpress-fire-push\/wp-json\/wp\/v2\/faq\/548\/revisions"}],"predecessor-version":[{"id":1532,"href":"https:\/\/demos.welaunch.io\/wordpress-fire-push\/wp-json\/wp\/v2\/faq\/548\/revisions\/1532"}],"wp:attachment":[{"href":"https:\/\/demos.welaunch.io\/wordpress-fire-push\/wp-json\/wp\/v2\/media?parent=548"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/demos.welaunch.io\/wordpress-fire-push\/wp-json\/wp\/v2\/product_cat?post=548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}