If you ignore the HTML5-generated validation errors, the WordPress-introduced validation errors (e.g. multiple searchforms using the same #id), and the browser-prefix property CSS validation errors, see if there&#39;s anything left.<div>
<br></div><div>You may be increasing PHP calls, but proper script enqueueing is vitally important for publicly released Themes. Basically, it helps ensure that your Theme plays nicely with Plugins, and also with Child Themes. It is also a requirement for passing Theme Review.</div>
<div><br></div><div>Chip<br><br><div class="gmail_quote">On Thu, Jul 14, 2011 at 7:16 AM, Karthik K <span dir="ltr">&lt;<a href="mailto:karthikthephoenix@gmail.com">karthikthephoenix@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Oh! Ok. Thanks for the quick tip Chip. But what about the other errors? And I will try out and let you know about the enqueue and register functions. But doesn&#39;t this increase the PHP calls?<div class="im"><br clear="all">
_<br>Karthik.K<span style="color:black"><div dir="ltr">

<div style="padding:5px 0pt;font-family:arial,sans-serif;font-size:13.3px"><span style="color:gray">Contact Me:</span>  <a href="http://twitter.com/ImKarthikK" style="padding:0pt 2px;color:blue;font-size:10pt" target="_blank"><img alt="Twitter" style="vertical-align:middle;padding-bottom:5px" border="0" height="16" width="16"></a><a href="http://www.facebook.com/ImKarthikK" style="padding:0pt 2px;color:blue;font-size:10pt" target="_blank"><img alt="Facebook" style="vertical-align:middle;padding-bottom:5px" border="0" height="16" width="16"></a><a href="http://www.linkedin.com/in/karthikk88" style="padding:0pt 2px;color:blue;font-size:10pt" target="_blank"><img alt="Linkedin" style="vertical-align:middle;padding-bottom:5px" border="0" height="16" width="16"></a><a href="http://www.flickr.com/ImKarthikK/show" style="padding:0pt 2px;color:blue;font-size:10pt" target="_blank"><img alt="Flickr" style="vertical-align:middle;padding-bottom:5px" border="0" height="16" width="16"></a><a href="http://www.youtube.com/ImKarthikK" style="padding:0pt 2px;color:blue;font-size:10pt" target="_blank"><img alt="Youtube" style="vertical-align:middle;padding-bottom:5px" border="0" height="16" width="16"></a><a href="http://www.karthikk.net/" style="padding:0pt 2px;color:blue;font-size:10pt" target="_blank"><img alt="Blog RSS" style="vertical-align:middle;padding-bottom:5px" border="0" height="16" width="16"></a></div>


</div></span><div style="color:gray;font-size:13.3px;padding-bottom:5px"><br><span style="color:blue;text-decoration:underline"></span></div><span style="color:black"></span><br>
<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Thu, Jul 14, 2011 at 5:44 PM, Chip Bennett <span dir="ltr">&lt;<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Those scripts look fine to include; however, you will need to register and enqueue them properly, using wp_register_script() and wp_enqueue_script(), via a function hooked into the wp_enqueue_scripts hook.<div><br></div>

<div>

As for the W3C validator results: the validator still basically sucks at validating HTML5 markup. Also, you can safely ignore browser-prefix property errors.</div><div><br></div><div>Chip<br><br><div class="gmail_quote">


<div><div></div><div>On Thu, Jul 14, 2011 at 7:07 AM, Karthik K <span dir="ltr">&lt;<a href="mailto:karthikthephoenix@gmail.com" target="_blank">karthikthephoenix@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>Hi All,<div>I&#39;ve got a query. I&#39;m building my own theme and I&#39;m looking if I could include an external JavaScript within a .js file. Example:</div>



<div><br></div><div>&lt;script&gt;</div><div><div>&lt;script type=&quot;text/javascript&quot; src=&quot;<a href="http://platform.twitter.com/widgets.js" target="_blank">http://platform.twitter.com/widgets.js</a>&quot;&gt; &lt;/script&gt;</div>





<div>&lt;script type=&quot;text/javascript&quot; src=&quot;<a href="http://platform.linkedin.com/in.js" target="_blank">http://platform.linkedin.com/in.js</a>&quot;&gt; &lt;/script&gt;</div><div>&lt;script type=&quot;text/javascript&quot; src=&quot;<a href="http://apis.google.com/js/plusone.js" target="_blank">http://apis.google.com/js/plusone.js</a>&quot;&gt; &lt;/script&gt;</div>





<div>&lt;script src=&quot;<a href="http://connect.facebook.net/en_US/all.js#appId=213854785325012&amp;xfbml=1" target="_blank">http://connect.facebook.net/en_US/all.js#appId=213854785325012&amp;amp;xfbml=1</a>&quot;&gt;</div>



<div>&lt;script src=&quot;<a href="http://connect.facebook.net/en_US/all.js#xfbml=1" target="_blank">http://connect.facebook.net/en_US/all.js#xfbml=1</a>&quot;&gt; &lt;/script&gt;</div>

</div><div>&lt;/script&gt;</div><div><br></div><div>Please help me on this. And I&#39;m also looking at troubleshooting the W3C Validation for <a href="http://www.karthikk.net" target="_blank">www.karthikk.net</a> </div>



<div>_</div><div>

<br>Karthik.K<span style="color:black"><div dir="ltr"><div style="padding:5px 0pt;font-family:arial,sans-serif;font-size:13.3px"><span style="color:gray">Contact Me:</span>  <a href="http://twitter.com/ImKarthikK" style="padding:0pt 2px;color:blue;font-size:10pt" target="_blank"><img alt="Twitter" style="vertical-align:middle;padding-bottom:5px" border="0" height="16" width="16"></a><a href="http://www.facebook.com/ImKarthikK" style="padding:0pt 2px;color:blue;font-size:10pt" target="_blank"><img alt="Facebook" style="vertical-align:middle;padding-bottom:5px" border="0" height="16" width="16"></a><a href="http://www.linkedin.com/in/karthikk88" style="padding:0pt 2px;color:blue;font-size:10pt" target="_blank"><img alt="Linkedin" style="vertical-align:middle;padding-bottom:5px" border="0" height="16" width="16"></a><a href="http://www.flickr.com/ImKarthikK/show" style="padding:0pt 2px;color:blue;font-size:10pt" target="_blank"><img alt="Flickr" style="vertical-align:middle;padding-bottom:5px" border="0" height="16" width="16"></a><a href="http://www.youtube.com/ImKarthikK" style="padding:0pt 2px;color:blue;font-size:10pt" target="_blank"><img alt="Youtube" style="vertical-align:middle;padding-bottom:5px" border="0" height="16" width="16"></a><a href="http://www.karthikk.net/" style="padding:0pt 2px;color:blue;font-size:10pt" target="_blank"><img alt="Blog RSS" style="vertical-align:middle;padding-bottom:5px" border="0" height="16" width="16"></a></div>





</div></span><div style="color:gray;font-size:13.3px;padding-bottom:5px"><br><span style="color:blue;text-decoration:underline"></span></div><span style="color:black"></span><br>
</div>
<br></div></div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>