Author Name At End Of Post
-
Can anyone tell me why the blog author isn’t coming up if my index..php looks like this? (www.mortalmethods.com)
<div id=”content”>
<div id=”contentleft”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<?php the_content(__(‘Read more’));?><!–
<?php trackback_rdf(); ?>
–><div class=”postmeta”>
<div class=”postmetaleft”>
<p>by <?php the_author() ?> on <?php the_time(‘F j, Y’); ?> · <?php the_category(‘, ‘) ?></p>
</div>
<div class=”postmetaright”>
<?php edit_post_link(‘(Edit)’, ”, ”); ?>
</div>
</div><div style=”clear:both;”></div>
<?php endwhile; else: ?>
<p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p><?php endif; ?>
<h3>Comments</h3>
<?php comments_template(); // Get wp-comments.php template ?></div>
- The topic ‘Author Name At End Of Post’ is closed to new replies.