Support » Fixing WordPress » list author’s post

  • Hi I’ve been looking around the forum, support and plugins and I still haven’t figure out how to add a list with the titles and links of the posts of one author, but outside of the author template.
    what i am trying to do is a category where every post will be a little description of one of the authors and then a list of all the posts published by that author, or maybe the last 10 or 8… any.

    I figured out that in order to get this well done, first i had to take off the author’s name of every post in this category.
    Then also, that once i published one author profile, I have to do it using the mane of the author i’m writing about.

    This is what I’ve done until now, but it’s not working 🙁
    anyone please, help..


    <?php get_header(); ?>

    <div id=”wrapper”>

    <div id=”single”>

    <?php query_posts(‘cat=142’); ?>
    <?php while (have_posts()) : the_post(); ?>

    <div class=”entry”>
    <h1>” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_title(); ?></h1>

    <div style=”padding-top: 30px;”>
    <?php the_content();?>

    <div style=”padding-bottom:10px;”>
    if(get_query_var(‘author_name’)) :
    $curauth = get_userdatabylogin(get_query_var(‘author_name’));
    else :
    $curauth = get_userdata(get_query_var(‘author’));
    <h2>Posts by <?php echo $curauth->nickname; ?>:</h2>

    <p><?php if (function_exists(‘sharethis_button’)) { sharethis_button(); } ?>
    <?php include (TEMPLATEPATH . ‘/social.php’); ?>
    <br class=”clear” />
    <?php endwhile; ?>
    <?php if(function_exists(‘wp_page_numbers’)) { wp_page_numbers(); } ?>


    <div style=”margin-right: 10px;”>
    <?php get_rsidebar(); ?>

    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘list author’s post’ is closed to new replies.