I have figured it out.
There is a good explanation here
You edit the wp.config
file with the scripts you wish to not load…
define('WPCF7_LOAD_JS', false);
…and then manually enqueue them on the pages you wish to load the script.
I have figured it out.
There is a good explanation here
You edit the wp.config
file with the scripts you wish to not load…
define('WPCF7_LOAD_JS', false);
…and then manually enqueue them on the pages you wish to load the script.