Missing <body> tag in header.php --> can't install clicktale..?

oksk89

New member
Jun 18, 2009
239
1
0
I'm trying to install clicktale and I've put the code for the footer before </body>, but I cannot find the <body> tag in the header.php file.

This is what the header.php code looks like:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php if (is_single() || is_page() || is_archive()) { wp_title('',true); echo(' • '); bloginfo('name'); } else { bloginfo('name'); echo(' • '); bloginfo('description'); } ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/thickbox.css" type="text/css" media="screen,projection" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="openid2.provider" href="https://myvidoop.com/openid" />
<link rel="openid.server"    href="https://myvidoop.com/openid" />
<link rel="openid2.local_id" href="http://griffin.myvidoop.com" />
<link rel="openid.delegate"  href="http://griffin.myvidoop.com" />
<?php wp_head(); ?>
</head>
<body class="<?php sandbox_body_class() ?>">
<div id="jacket">
	<div id="header">
		<ul class="nav">
			<?php wp_list_pages('title_li=&depth=-1&hierarchical=0'); ?>
		</ul>
		<span class="tagline"><?php bloginfo('description'); ?></span>
		<p class="title"><a href="<?php echo get_option('home'); ?>/">Blog Title</a></p>
	</div>

How do I go about installing this script without it? All I see is <body class=> but I have no idea how to manipulate that or what it does..

Thanks
 


Seriously, if you can't figure this one out, AM may not be for you.

The <body class=... is the body tag. If you're meant to place it in the body section, you'd want to put it right after this tag is closed off with the last > so it loads before the rest of the page.
I haven't installed clicktale before, but usually, you want to put javascripts in the head section of the page, not the body.
 
Seriously, if you can't figure this one out, AM may not be for you.

The <body class=... is the body tag. If you're meant to place it in the body section, you'd want to put it right after this tag is closed off with the last > so it loads before the rest of the page.
I haven't installed clicktale before, but usually, you want to put javascripts in the head section of the page, not the body.

brb giving up on AM because I can't figure out one aspect of HTML.

but in all seriousness, thank you for the answer :)

edit: oh, and the installation instructions spit out two codes: one to place after the <body> tag and one to place before the </body> tag.
 
The header.php will have the <body> tag and usually footer.php contains </body>

Clicktale requires the code immediately after <body> and immediately before </body>. don't stick in the <head> or it won't work.
 
Yeah, I've installed clicktale before, but all my other templates simply had he <body> and </body> tags where you mentioned.

But this theme I'm using, in the header.php, it didn't have <body>, but rather, <body class=...> so I had no idea where to put the code.