I’m very new to all this folks, so please hang on in there with me…
I assume we put the solution to the the_author() not displaying issue in the index.php file.
I’ve pasted my index.php below. Can anyone please tell me where to put the solution code you have described in your posts above?
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="postmetadata"><?php the_time('jS F Y, h:i a ') ?> <!-- <?php _e('by') ?> <?php the_author() ?> --></div>
<div class="postentry">
<?php the_content(__('Continue reading'). " ‘" . the_title('', '', false) . "’ »"); ?>
</div>
<div class="postmetadata">
<?php if( function_exists('the_tags') )
the_tags(__('Tags: '), ', ', '');
?>
<span class="categ"><?php _e('Category:') ?></span> <?php the_category(', ') ?> |
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/comments.gif" alt=" "/>
<?php comments_popup_link(__('Comment'), __('1 Comment'), __('% Comments')); ?>
<?php edit_post_link(__('Edit'), ' | ', ''); ?>
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/hr.gif" alt=" "/>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Previous Entries')) ?></div>
<div class="alignright"><?php previous_posts_link(__('Next Entries »')) ?></div>
</div>
<?php else : ?>
<div class="post">
<h2 class="posttitle"><?php _e('Not Found') ?></h2>
<div class="postentry"><?php _e('Sorry, no posts matched your criteria.'); ?>
</div>
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Many thanks.