transmitstudio
11/9/2014 - 1:49 AM

Add fonts.com and IE9 gradient support to head

Add fonts.com and IE9 gradient support to head

// add webfonts, antialiased fonts, and gradient support for IE9 to header - make sure to change the fonts.com job code appropriately
function xmit_add_header_extras() {?>
<script type="text/javascript" src="http://fast.fonts.com/jsapi/cb0cea81-a78b-47c5-bbaf-abed0841cbfd.js"></script><!-- FONTS.COM EMBED -->
<style type="text/css">body {-webkit-font-smoothing: antialiased;}</style><!-- FORCE ANTIALIASED TYPE -->
<!--[if gte IE 9]><style type="text/css">.gradient {filter: none;}</style><![endif]-->
<?php
}
add_action ('wp_head', 'xmit_add_header_extras');