edit the theme files, and move the PHP?
Looks for something that looks similar to <?php the_date() ?> OR <?php the_time() ?>
Thread Starter
v2006
(@v2006)
Thanks alot
This is the theme template code of home.php
<div id="contentleft">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php the_content(__('Read more'));?><div style="clear:both;"></div>
<div class="postmeta">
<p><?php the_time('F j, Y'); ?> | Filed Under <?php the_category(', ') ?> <?php edit_post_link('(Edit)', '', ''); ?></p>
</div>
<!--
<?php trackback_rdf(); ?>
-->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
<p><?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?></p>
</div>
Where should I move “php the time” to be under the post headings?
<h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php the_content(__('Read more'));?><div style="clear:both;"></div>
Between these two lines. Between php the_title and php the_content. So it would end up looking like:
<div id="contentleft">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<div class="postmeta">
<p><?php the_time('F j, Y'); ?> | Filed Under <?php the_category(', ') ?> <?php edit_post_link('(Edit)', '', ''); ?></p>
</div>
<?php the_content(__('Read more'));?><div style="clear:both;"></div>
<!--
<?php trackback_rdf(); ?>
-->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
<p><?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?></p>
</div>
But always make a backup copy of your files before messing with them, just in case
Thread Starter
v2006
(@v2006)
Worked! – thanks very much for your help