• Hey i have html5shiv.min.js file that i want to keep at the head of my website header.

    I have tried to play around a bit with the code and if i use this code in my page it works well:

    <script data-wpfc-render="false" src="scripts/html5shiv.min.js" async></script>

    When i have added <!–[if IE]> it seems like the plugin move the javascript file into the footer. So this code doesn’t work

    <!--[if IE]><script data-wpfc-render="false" src="scripts/html5shiv.min.js" async></script><![endif]-->

    And if i exclude the jquery file from the plugin wp-admin it doesn’t convert the file but it still move it into the footer.

    Is there a way to make it work with the IE condition?
    Thanks

    • This topic was modified 6 years, 2 months ago by oalddesign.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude Javascript’ is closed to new replies.