summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authordaniel g. siegel2014-03-05 23:41:47 +0100
committerdaniel g. siegel2014-03-05 23:41:47 +0100
commit29ba82bbc5420d2687124cd01fac8c60eff07fb2 (patch)
tree0f0f5e50641f18e884254e732c27752765e61058 /functions.php
parent4ba3572761610c7db750365e05f036b09eac5aea (diff)
downloadwp-remulus-29ba82bbc5420d2687124cd01fac8c60eff07fb2.tar.gz
wp-remulus-29ba82bbc5420d2687124cd01fac8c60eff07fb2.tar.bz2
wp-remulus-29ba82bbc5420d2687124cd01fac8c60eff07fb2.zip
add html5 shiv for ie
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 4a3a40f..0d77564 100644
--- a/functions.php
+++ b/functions.php
@@ -51,6 +51,14 @@ function remulus_scripts() {
add_action( 'wp_enqueue_scripts', 'remulus_scripts' );
+function remulus_add_ie_html5_shim () {
+ echo "<!--[if lt IE 9]>\n";
+ echo '<script src="', get_template_directory_uri() .'/js/html5shiv.js"></script>'."\n";
+ echo "<![endif]-->\n";
+}
+add_action('wp_head', 'remulus_add_ie_html5_shim');
+
+
if ( ! function_exists( 'remulus_paging_nav' ) ) :
function remulus_paging_nav() {
// Don't print empty markup if there's only one page.