/ Published in: PHP
In your header.php file:
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if(is_front_page()):?> <?php /*?>your java script code<?php */?> <script type=â€text/javascipt†src=â€yourfile.jsâ€></script> <?php endif; ?>