We are giving authority to the user to add or install the PWAforWP app by using Shortcode.
Website Admin/Developer can use shortcode to place button any where in whole website.
If you want to add Home screen button by using Shortcode in PWAforWP then first you need to purchase and install the PWA for WP pro plugin.
Step 1: After installing you need to enter the license key for this you need to go to WordPress Dashboard -> PWAforWP -> License -> Here you will get the Add-on to enter the License key and click on the “Activate” button.
Step 2: You need to go to WordPress Dashboard -> PWAforWP -> Add-ons-> Click on the Call To Action Add-on “Activate” button
Step 3: After Activate Call To Action Add-on you will get this option on the WordPress Dashboard -> PWAforWP -> Click on the Call To Action -> Now you can see this “Use Shortcode” option and Copy this shortcode and paste where you want to display add to home button like below the screenshot.
For example, I’m copying this “[pwaforwp-add-home] ” shortcode and paste into the post like below the screenshot.
The Output of Add To Home
That’s it for this tutorial!
We hope we’ve clear your doubts in case If you have any feedback or questions, Just contact us here and we are always available for you.