That’s what I thought, but there wasn’t a function.php before. I created it from scratch…that’s why I’m stuck…but if I take it off then the sidebars won’t work.
My main index template is this:
<?php get_header(); ?>
<div id=”page-wrap”>
<div id=”content”>
<div class=”post-wrap”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
<small><?php the_time(‘F jS, Y’) ?> by <?php the_author(); ?></small>
<div class=”entry”>
<?php the_content(‘Read the rest of this entry »’); ?>
</div>
<p class=”postmetadata”><?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?> / <?php the_tags(‘Tags: ‘, ‘, ‘, ‘ / ‘); ?> Posted in <?php the_category(‘, ‘) ?> <?php edit_post_link(‘Edit’, ‘ / ‘, ”); ?></p>
</div>
<?php endwhile; ?>
<div class=”navigation”>
<div class=”alignleft”><?php next_posts_link(‘« Older Entries’) ?></div>
<div class=”alignright”><?php previous_posts_link(‘Newer Entries »’) ?></div>
</div>
<div class=”clear”></div>
<?php else : ?>
<h2 class=”center”>Not Found</h2>
<p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
<?php include (TEMPLATEPATH . “/searchform.php”); ?>
<?php endif; ?>
</div><!– .post-wrap –>
</div><!– #content –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Not sure if it’s of any help to sort it out…