How to Add Live Preview on your WordPress Plugin?
Here is how you can add the Live Preview button to Your WordPress Plugin. In order to do that, make sure to download all the WordPress files from the repository. You can use Tortoise SVN to download all the files. After that, you will need to add a blueprint folder and inside it add a JSON file.
Now go to assets folder and commit the changes. This will upload the blueprint folder with the JSON file to your repository. After that, login to your WordPress account and go to your plugin page. You will see test preview – this will only be seen if you are logged in. Please test if it is working all good or not. If everything is working fine, go to Advanced View of your plugin. Scroll down to the bottom and you will see toggle live preview! Simply turn this on.
So the live preview will be enabled. Please do make sure to test if it is working or not. Thank you very much!
How to Add Live Preview on your WordPress Plugin?
Create a sitemap using custom code
Enable the Classic Editor on WordPress using Custom codes!