{"id":802,"date":"2019-12-06T13:19:22","date_gmt":"2019-12-06T13:19:22","guid":{"rendered":"http:\/\/pwa-for-wp.com\/docs\/?post_type=ht_kb&#038;p=802"},"modified":"2019-12-06T13:25:13","modified_gmt":"2019-12-06T13:25:13","slug":"how-to-install-and-activate-pwa","status":"publish","type":"ht_kb","link":"https:\/\/pwa-for-wp.com\/docs\/article\/how-to-install-and-activate-pwa\/","title":{"rendered":"How to Install and activate PWA"},"content":{"rendered":"\n<p>Progressive Web Apps (PWA) is a new technology that creates a middle ground between a website and a mobile app. They are installed on the phone like a normal app (web app) and can be accessed from the home screen. Users can come back to your website by launching the app from their home screen and interact with your website through an app-like interface! Every time a page is visited it is cached locally on their device, and it will still be accessible offline. <\/p>\n\n\n\n<p>To use this AMP plugin for WordPress, you\u2019ll first want to navigate to <strong>Plugins<\/strong> -> <strong>Add New<\/strong> in your dashboard. Search for &#8221; <strong>PWA for WP &amp; AMP &#8220;<\/strong>, and install and download the plugin<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"861\" height=\"520\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Add-Plugins-\u2039-magazine3-\u2014-WordPress-2019-12-06-16-33-10.png\" alt=\"\" class=\"wp-image-803\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Add-Plugins-\u2039-magazine3-\u2014-WordPress-2019-12-06-16-33-10.png 861w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Add-Plugins-\u2039-magazine3-\u2014-WordPress-2019-12-06-16-33-10-300x181.png 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Add-Plugins-\u2039-magazine3-\u2014-WordPress-2019-12-06-16-33-10-768x464.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Add-Plugins-\u2039-magazine3-\u2014-WordPress-2019-12-06-16-33-10-50x30.png 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Add-Plugins-\u2039-magazine3-\u2014-WordPress-2019-12-06-16-33-10-60x36.png 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Add-Plugins-\u2039-magazine3-\u2014-WordPress-2019-12-06-16-33-10-100x60.png 100w\" sizes=\"auto, (max-width: 861px) 100vw, 861px\" \/><\/figure><\/div>\n\n\n\n<p>Once you install and activate this plugin it will redirect to the PWA setting panel. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Basic Setup of PWA.<\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"1024\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/111-979x1024.png\" alt=\"\" class=\"wp-image-819\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/111-979x1024.png 979w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/111-287x300.png 287w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/111-768x804.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/111-48x50.png 48w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/111-57x60.png 57w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/111-96x100.png 96w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/111.png 1059w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Application Name:<\/strong> The name of PWA that would like to show when a user adds PWA to their home screen. <\/li><li><strong>Application Short Name<\/strong>: When insufficient space to display the full name of the application, which we mentioned at Application Name. <\/li><li><strong>Description:\u00a0<\/strong>It won\u2019t have any impact on the user-end. But it will be helpful if you are posting the websites manifest at some Progressive Web Apps listing directories.<\/li><li><strong>Application Icon:<\/strong>\u00a0This will be the icon of your PWA app when installed on the phone. It must be a PNG format image with 192px*192px in size.<\/li><li><strong>Splash Screen Icon:<\/strong>\u00a0The icon to be shown when the PWA is opened on any supported devices. It must be a PNG format image with 512px*512px in size.<\/li><li><strong>Offline Page:<\/strong>\u00a0The page which is displayed when the device is offline. And requested page is not already cached or viewed from the browser. If you can add a customized page mentioning something like a message \u201cYour Internet is Offline, check the internet connection\u201d. It will help users to get a more clear idea of the use case. <\/li><li><strong>404 Page:<\/strong> 404 pages are displayed and the requested page is not found. Current 404 page is<\/li><li><strong>Start Page:\u00a0<\/strong>The page which loads when the application is launched from a device when tapping the icon.<\/li><li><strong>Orientation:\u00a0<\/strong>Set the orientation of your app on devices<\/li><li><strong>Display:\u00a0<\/strong>The mode which decides what browser UI is shown when your app is launched<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Similarly,&nbsp;you can click on the&nbsp;<strong>Design<\/strong>&nbsp;option in which you can set the background color and Theme color.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1038\" height=\"493\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/14.png\" alt=\"\" class=\"wp-image-528\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/14.png 1038w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/14-300x142.png 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/14-768x365.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/14-1024x486.png 1024w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/14-50x24.png 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/14-60x28.png 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/14-100x47.png 100w\" sizes=\"auto, (max-width: 1038px) 100vw, 1038px\" \/><\/figure>\n\n\n\n<p>Anyone browsing the site on a supported mobile device will see the \u2018<strong>Add To Home Screen<\/strong>\u2019 notice and will be able to add the website brand icon on their home screen, just like a real mobile app. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"279\" height=\"578\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Desktop-2019-12-06-18-48-30.png\" alt=\"\" class=\"wp-image-826\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Desktop-2019-12-06-18-48-30.png 279w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Desktop-2019-12-06-18-48-30-145x300.png 145w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Desktop-2019-12-06-18-48-30-24x50.png 24w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Desktop-2019-12-06-18-48-30-29x60.png 29w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/12\/Desktop-2019-12-06-18-48-30-48x100.png 48w\" sizes=\"auto, (max-width: 279px) 100vw, 279px\" \/><\/figure><\/div>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope we\u2019ve clear your doubts in case If you have any feedback or questions, Just contact us&nbsp;<strong>here and<\/strong>&nbsp;we are always available for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Progressive Web Apps (PWA) is a new technology that creates a middle ground between a website and a mobile app. They are installed on the phone like a normal app (web app) and can be accessed from the home screen. Users can come back to your website by launching the&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[6],"ht-kb-tag":[],"class_list":["post-802","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-how-to"],"_links":{"self":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/comments?post=802"}],"version-history":[{"count":19,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/802\/revisions"}],"predecessor-version":[{"id":828,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/802\/revisions\/828"}],"wp:attachment":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/media?parent=802"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=802"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}