Here is the content for page.php:
<?php get_header(); ?>
<div id=”content”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post”>
<h1><?php the_title(); ?></h1>
<?php edit_post_link(); ?>
<?php the_content(); ?>
</div>
<?php endwhile; ?>
<?php else : ?>
<p><?php _e(‘Sorry, but nothing seems to match what you were looking for.’); ?></p>
<?php endif; ?>
</div><!–/content–>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
And the content for index.php:
<?php get_header(); ?>
<div id=”content”>
</div>
<p class=”blog_title”>Dr. Carol’s Blog: the mind-body connection</p>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?>>
<div class=”post”>
<h1>” title=”Permanent Link to <?php the_title(); ?>”>
<?php the_title(); ?>
</h1>
<?php edit_post_link(); ?>
<?php if(is_category() || is_archive()) {
the_excerpt();
} else {
the_content();
} ?>
<div class=”postmeta”>
<?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>
<!–
<b>Filed Under:</b> <?php the_category(‘, ‘) ?> –>
<p class=”small”><b>Posted by</b>
<?php the_author(); ?>
on
<?php the_date(); ?>
</p>
<b>Comments:</b>
<?php comments_popup_link(‘Be the First to Comment’, ‘Read the First Comment’, ‘% Comments to Read’, ‘comments-link’, ‘Comments are off for this article’); ?>
<!– <?php if ( function_exists(‘the_tags’)) the_tags(‘<h4>Tags: <span>’, ‘, ‘, ‘ </span></h4>’); ?> –>
<?php comments_template(); ?>
</div>
</div>
</div>
<?php endwhile; ?>
<?php else : ?>
<p>
<?php _e(‘Sorry, no posts matched your criteria.’); ?>
</p>
<?php endif; ?>
<div class=”content-bot”>
<?php next_posts_link(‘« previous’) ?>
top
<?php previous_posts_link(‘next »’) ?>
</div>
<!–/content-bot–>
</div>
<!–/content–>
<?php get_sidebar(); ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>