I am improving my content helped with this great plugin.
I am wondering how to deregister a script used by a shortcode because i use this script yet for others parts of the site.
For example, i use swiper to animate some parts of my page. The problem is when i add a carousel with shortcodes ultimate it loads for a second time swiper.js. As i always use swiper on my page i whould like to remove the second one loaded by the plugin.
What is the best way to achieve it?
Thank in advance for any help,
- The topic ‘De-register JS which is added twice because of template.’ is closed to new replies.