First, let me say thanks scribu for your individual attention on this matter. I really appreciate it.
So I tried that code, but it doesn’t work. However, I think it’s because it’s conflicting with other pieces of my code that I didn’t write above. This time I’ll just put the whole main index template, including the styles.
I think your code may work, but it just has to be broken up – and I don’t know enough about PHP syntax to do it.
<?php get_header(); ?>
<?php get_sidebar(); ?>
<div id="wrapper">
<?php /*$posts = get_posts('numberposts=10');*/ ?>
<div id="posts" class="excerpts">
<ul>
<?php foreach ($posts as $post) : ?>
<?php setup_postdata ($post); ?>
<div class="contentbox">
<div id="post-meta">
<h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<div class="timedate"><?php the_time('F j, Y'); ?></div>
<div class="postdata">
Posted by <?php the_author_posts_link(); ?><?php _e(" in "); ?><?php the_category(', ') ?> <span style="color:#F00;">♦</span> <?php comments_popup_link(__('Leave a Comment'), __('View Comments (1)'), __('View Comments (%)'), '', __('--')); ?> <span style="color:#F00;">♦</span> <?php edit_post_link(__('Edit')); ?>
<?php wp_link_pages(); ?>
</div>
</div>
<?php if (get_option ('photon_index_post_length') == "full"): ?>
<?php the_content('Continue Reading','FALSE',''); ?>
<p class="tags"><?php the_tags('Tags: ', ', ', ''); ?></p>
</div>
<?php else: ?>
<?php the_content (); ?>
</div>
<?php endif; ?>
<div>
</div>
</li>
<?php endforeach; ?>
<div>
<p style="float: left"><?php previous_posts_link(); ?></p>
<p style="float: right"><?php next_posts_link(); ?></p>
<p style="clear: both"> </p>
</div>
</ul>
</div>
</div>
<?php get_footer(); ?>