So I'm working on this page, using the following 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 wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<script src="<?php bloginfo('template_directory'); ?>/scripts/css_browser_selector.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/js/prototype.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/js/scriptaculous.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/js/accordion.js" type="text/javascript"></script>
<style type="text/css">
.accordion {
position: relative; /* required for bounding */
}
.accordion-toggle{
position: relative; /* required for effect */
z-index: 10; /* required for effect */
cursor: pointer;
}
.accordion-content{
overflow: hidden; /* required for effect */
}
</style>
<?php wp_head(); ?>
</head>
<body>
<div class="wrapper">
<!-- BEGGINING OF ROW-1 -->
<!-- BEGGINING OF ROW-1 -->
<!-- BEGGINING OF ROW-1 -->
<div class="row-1">
<!-- BEGINNING OF ROW-1-COL-1 -->
<!-- BEGINNING OF ROW-1-COL-1 -->
<div class="row-1-col-1">
<?php if(get_post_meta($post->ID, $key, true) != "home") { ?><p class="row-1-col-1-motto">Education and prevention lead to healthy smiles and happy kids.</p><?php } else { echo "<br /><br /><br /><br /><br /><br /><br />"; } ?>
<img src="<?php bloginfo('template_directory'); ?>/image-rotator.php" alt="" />
<?php if(get_post_meta($post->ID, $key, true) != "home") { ?><img src="<?php bloginfo('template_directory'); ?>/images/small-logo.gif" alt="World of Smiles Pediatric Dentisry Logo" /><?php } else { echo '<br /><br />'; } ?>
<p class="row-1-col-1-address">11790 SW Barnes Road</p>
<p class="row-1-col-1-address">Building A, Suite 280</p>
<p class="row-1-col-1-address">Portland, OR 97225</p>
<p class="row-1-col-1-address">(503) 626-9700</p>
<h1>Index.php</h1>
</div><!-- END OF ROW-1-COL-1 -->
<!-- BEGINNING OF ROW-1-COL-2 -->
<!-- BEGINNING OF ROW-1-COL-2 -->
<table cellpadding="0" cellspacing="0" style="float: left;" id="vertical_container">
<tr valign="top">
<td class="row-1-col-2" id="row-1-col-2-<?php echo ereg_replace("’", "", ereg_replace(" ", "-", trim(strtolower(wp_title("", false, ""))))); if(get_post_meta($post->ID, $key, true) == "home") { echo "home"; } ?>">
<img class="row-1-col-2-header" src="<?php bloginfo('template_directory'); ?>/images/row-1-col-2/<?php echo ereg_replace("’", "", ereg_replace(" ", "-", trim(strtolower(wp_title("", false, ""))))); if(get_post_meta($post->ID, $key, true) == "home") { echo "home"; } ?>-header.png" alt="" />
<?php if(get_post_meta($post->ID, $key, true) != "home") { echo '<p class="row-1-col-2-page-title"><a href="/">Home</a></p>'; } ?>
<span style="float: left; width: inherit;" id="test-accordion">
<!-- This posts the primary page content for "Pages" and "Posts" -->
<?php
if (have_posts()) :
while (have_posts()) : the_post();
wp_title("", false, "");
the_content('Read the rest of this entry »');
endwhile;
endif;
?>
</span>
</td>
</tr>
<tr>
<td>
<img style="float: left; margin: 0 0 0 5px;" src="<?php bloginfo('template_directory'); ?>/images/row-1-col-2/<?php echo ereg_replace("’", "", ereg_replace(" ", "-", trim(strtolower(wp_title("", false, ""))))); if(get_post_meta($post->ID, $key, true) == "home") { echo "home"; } ?>-footer.png" alt="" />
</td>
</tr>
</table><!-- END OF ROW-1-COL-2 -->
<!-- BEGINNING OF ROW-1-COL-3 -->
<!-- BEGINNING OF ROW-1-COL-3 -->
<div class="row-1-col-3" id="row-1-col-3-<?php echo ereg_replace("’", "", ereg_replace(" ", "-", trim(strtolower(wp_title("", false, ""))))); if(get_post_meta($post->ID, $key, true) == "home") { echo "home"; } ?>">
<!-- This lists the navigation for all "Pages" within the account -->
<?php wp_list_pages('title_li'); ?>
</div><!-- END OF ROW-1-COL-3 -->
</div><!-- END OF ROW-1 -->
<!-- BEGINNING OF ROW-2 -->
<!-- BEGINNING OF ROW-2 -->
<!-- BEGINNING OF ROW-2 -->
<div class="row-2">
<p><a href="site-credits">Site Credits</a> :: © World of Smiles <?php echo date("Y"); ?></p>
</div><!-- END OF ROW-2 -->
</div>
</body>
</html>
And if you notice there is no title above each post, I don't understand why. Can someone help? This is index.php. Thank you!