Instant.Page ? How to dequeue specific pages?
-
Hello, I have some inconsistencies in the number of conversions in a specific form.
I wanted to confirm that this script is responsible for the resources:
- Auto prefetch URLs in viewport
- Auto prefetch URLs on mouse hover
If not, what scripts are they?
How can I dequeue this script?
This way it didn’t work:function remove_scripts_instantpage_conditionally() { $pages_to_remove = array('service', 'service/thank you'); if (is_page($paginas_para_remover)) { wp_dequeue_script('swcfpc_instantpage-js'); } } add_action('wp_enqueue_scripts', 'remove_scripts_instantpage_conditionally', 0);
thx
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Instant.Page ? How to dequeue specific pages?’ is closed to new replies.