I am at a loss as to where to put the code on the page.php page… tried it before div tags, after div tags… whatever… need some help…
My question… where do i put the the modified date tag??? Thanks for any assistance.
Below is the code i have to work with:
<?php get_header();?>
<div id=”main”>
<div id=”content”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<p class=”date”>
<span class=”month”>
<?php the_time(‘M’) ?>
</span>
<span class=”day”>
<?php the_time(‘d’) ?>
</span>
<span class=”year”>
<?php the_time(‘Y’) ?>
</span>
</p>
<h2 class=”title”>” rel=”bookmark”><?php the_title(); ?></h2>
<div class=”meta”>
<p>Published by <?php the_author_posts_link() ?> <?php edit_post_link(); ?></p>
</div>
<div class=”entry”>
<?php the_content(__(‘Continue Reading »’)); ?>
<?php wp_link_pages(); ?>
<?php $sub_pages = wp_list_pages( ‘sort_column=menu_order&depth=1&title_li=&echo=0&child_of=’ . $id );?>
<?php if ($sub_pages <> “” ){?>
<p class=”meta”>This page has the following sub pages.</p>
<?php echo $sub_pages; ?>
<?php }?>
</div>
<p class=”comments”>
<?php comments_popup_link(__(‘No responses yet’), __(‘One response so far’), __(‘% responses so far’)); ?>
</p>
<?php comments_template(); // Get wp-comments.php template ?>
</div>
<?php endwhile; else: ?>
<p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
<?php endif; ?>
<p align=”center”><?php posts_nav_link(‘ – ‘,’« Prev’,’Next »’) ?></p>
</div>
<?php get_sidebar();?>
<?php get_footer();?>