This tutorial is to show you how you can set up Add to Home on Element click. let’s get into it.
When you click on any element and you want to “Add to Home” on any device then follow the below steps
1. First, you need to select ID or Class of that element
2. Copy of that element Id or Class and paste
Go to WordPress dashboard -> PWA –> Settings -> Advanced -> In this option “Add to Home On Element click ” you need to enter ID or Class Of that element like below the screenshot.
3. Click on the “Save Settings” button.
Once you click on any elements message will appear on browser “Add to Home” like below the screenshot.
To make it easy, we have created a video.
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.