If you’re using the Autoptimize plugin on your website, it may minify the JS files of WPVR and the tour won’t show up on your webpage.
Follow these steps to exclude WPVR JS files from Autoptimize.
Exclude Assets of WPVR From Autoptimize #
1. Go to your WordPress Dashboard > Autoptimize.
Here, you’ll see the field for ‘Exclude scripts from Autoptimize’.
3. If you’re using the free version of WPVR, add a comma (,) and include wp-content/plugins/wpvr.
If you’re using the pro version of WPVR, add a comma (,) and include wp-content/plugins/wpvr, wp-content/plugins/wpvr-pro.
4. Now scroll down and click on the Save Changes and Empty Cache button.
5. Go to the webpage, clear the browser cache, and reload the page.
The virtual tour should appear now on your webpage.