• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to remove html5shiv.min.js ?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to remove html5shiv.min.js ?

This topic is: not resolved

Tagged: remove js

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 3 months ago by iamzeus.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 12, 2017 at 6:21 pm #202960
    iamzeus
    Member

    I want to remove this from my html:

    <!--[if lt IE 9]>
    <script type='text/javascript' src='https://www.site.com/wp-content/themes/genesis/lib/js/html5shiv.min.js?ver=3.7.3'></script>
    <![endif]-->

    How can I remove it?

    IE9=< is just about 0.35% of my website traffic, its pointless to have it, as well I have cloudflare server push via the plugin and its being pushed to my 99.65 users which doesnt need this file.

    Any way to remove it via functions.php?

    March 12, 2017 at 6:58 pm #202961
    Victor Font
    Moderator

    Add this to functions.php:

    wp_dequeue_script( 'html5shiv' );
    wp_deregister_script( 'html5shiv' );

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 12, 2017 at 7:04 pm #202963
    iamzeus
    Member

    Just tried it but it didnt work 🙁

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble