<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Yes, Scripts from CDN as well, should be enqueued using the wp_enqueue_script() function. And If IE conditional comment is used, then related scripts can be put in there directly.<br><br><div><hr id="stopSpelling">Date: Tue, 6 Aug 2013 20:37:16 +0200<br>From: ola@bodera.com<br>To: theme-reviewers@lists.wordpress.org<br>Subject: [theme-reviewers] Enqueue scripts from CDN<br><br>Hello!<div><br></div><div>Is it ok for theme author to enqueue scripts directly from CDN, and not include them with the theme?</div><div>Example: <script src="<a href="http://html5shim.googlecode.com/svn/trunk/html5.js" target="_blank">http://html5shim.googlecode.com/svn/trunk/html5.js</a>"></script><br clear="all">
<div>And one more thing - is it ok to put scripts directly in header.php in conditional IE comments (<font color="#444444" face="monospace"><span style="font-size:11px;"><!--[if lt IE 9]> <![endif]--></span></font>)</div>
<div><br></div>Best regards,<br>Ola Łączek<br><div><br></div>
</div>
<br>_______________________________________________
theme-reviewers mailing list
theme-reviewers@lists.wordpress.org
http://lists.wordpress.org/mailman/listinfo/theme-reviewers</div>                                           </div></body>
</html>