Revision: 57819
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 11, 2012 14:48 by planetabhi
Initial Code
<?php if(is_front_page()):?> <?php /*?>your java script code<?php */?> <script type=â€text/javascipt†src=â€yourfile.jsâ€></script> <?php endif; ?>
Initial URL
Initial Description
In your header.php file:
Initial Title
Load specific JavaScript files in header.php in the homepage only? in WordPress
Initial Tags
javascript, php, wordpress
Initial Language
PHP