This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// add ie conditional html5 shim to header | |
function _s_add_ie_html5_shim () { | |
echo '<!--[if lt IE 9]>'; | |
echo '<script src="' . get_template_directory_uri() . '/js/html5.js"></script>'; | |
echo '<![endif]-->'; | |
} | |
add_action('wp_head', '_s_add_ie_html5_shim'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Usage: | |
* Paste a gist link into a blog post or page and it will be embedded eg: | |
* https://gist.github.com/2926827 | |
* | |
* If a gist has multiple files you can select one using a url in the following format: | |
* https://gist.github.com/2926827?file=embed-gist.php | |
*/ |