Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Put This code into functions.php
- function my_theme_ie_support_header() {
- echo '<!--[if lt IE 9]>'. "\n";
- echo '<script src="' . esc_url( get_template_directory_uri() . '/js/html5shiv.js' ) . '"></script>'. "\n";
- echo '<script src="' . esc_url( get_template_directory_uri() . '/js/respond.min.js' ) . '"></script>'. "\n";
- echo '<![endif]-->'. "\n";
- }
- add_action( 'wp_head', 'my_theme_ie_support_header' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement