problems with author.php
-
I’m having a bit of a problem with the about author info showing up in multiple places. Here’s an example: The Board
I’ve looked through my author.php file and I cannot seem to find the spot where that information is generated again. Any help is appreciated.
<?php get_header();?> <div id="content"> <div class="left"><div class="lpadding"> <?php get_sidebar(); ?> </div></div> <div class="center"><div class="cpadding"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php if(isset($_GET['author_name'])) : $curauth = get_userdatabylogin($author_name); else : $curauth = get_userdata(intval($author)); endif; ?> <h2>About: <?php echo $curauth->nickname; ?></h2> <dl> <dt>Website</dt> <dd><a href="<?php echo $curauth->user_url; ?>"><?php echo $curauth->user_url; ?></a></dd> <dt>Profile</dt> <dd><?php echo $curauth->user_description; ?></dd> </dl> <h2>Posts by <?php echo $curauth->nickname; ?>:</h2> <div class="title"> <h1><a href="<?php the_permalink() ?>" target="_self"><?php the_title(); ?></a></h1> <h4><?php _e("Posted in: "); ?><?php the_category(',') ?><?php _e(" by "); ?><?php the_author_posts_link() ?><?php _e(" on "); ?><?php the_time('F j, Y'); ?><?php _e(" "); ?><?php edit_post_link(__('Edit')); ?></h4> </div> <?php the_content(__('(more...)')); ?> <div class="clear"></div> <div class="tags">Tags: <?php the_tags('', ', ', ''); ?></div> <div class="permalink"><?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?></div> <?php comments_template(); // Get wp-comments.php template ?> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?> <?php posts_nav_link(' — ', __('« Older Posts'), __('Newer Posts »')); ?> </div></div> <div class="clear"></div> </div> <?php get_footer(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘problems with author.php’ is closed to new replies.