us flag
4th july

Let's celebrate with a

Get 20% discount
Eid Mubarak

How To Exclude Assets of WPVR From Autoptimize

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.

Autoptimize Settings

2. Under the JS, CSS & HTML tab, you’ll find the section for JavaScript Options.

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.

Exclude Assets of WPVR From Autoptimize

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.