Load JS only on page using form
-
Thank you for your time. Is there anyone who knows how to only load the JS that’s loaded in the footer for the redirection plugin?
I’m speaking about this code:
<script src=’https://www.site.com/wp-includes/js/jquery/jquery.min.js?ver=3.5.1′ id=’jquery-core-js’></script>
<script src=’https://www.site.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2′ id=’jquery-migrate-js’></script>
<script id=’wpcf7-redirect-script-js-extra’>
var wpcf7r = {“ajax_url”:”https:\/\/www.site.com\/wp-admin\/admin-ajax.php”};
</script>
<script src=’https://www.site.com/wp-content/plugins/wpcf7-redirect/build/js/wpcf7-redirect-frontend-script.js?ver=1.1′ id=’wpcf7-redirect-script-js’></script>
- The topic ‘Load JS only on page using form’ is closed to new replies.