JavaScript in Default Template
-
Hi,
I need to put a js in between the head tags in wp default theme template. I opened up header.phpand place the script in between,
<?php wp_head(); ?>
</head>
is this correct? or am I suppose to put the script in the index.php page within the template? in the wp-content/themes/default/index.php
i tried putting the script underneath <?php get_header(); ?>, but no avail
what am I doing wrong? thanks
i want the js to execute upon the home page of my blog or any of its posts.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘JavaScript in Default Template’ is closed to new replies.