Forums

Display all authors post on author template (7 posts)

  1. bobscape
    Member
    Posted 3 years ago #

    This should be really straight forward and has previously been working until my web-server died and I had to rely on backups.

    I want to display a list of all posts from a particular author on their author page.

    Below is the loop I am using.

    <!-- The Loop -->
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?> | <?php the_time('d M Y'); ?></a></li>

    <?php endwhile; else: ?>
    <p><?php _e('No posts by this author.'); ?></p>

    <?php endif; ?>
    <!-- End Loop -->

    However, this is only pulling out the latest post. I'm sure I've overlooked something simple.

    Please help.

  2. bobscape
    Member
    Posted 3 years ago #

    maybe this was not straight forward after all...

    Any ideas?

  3. moshu
    Member
    Posted 3 years ago #

    Seemingly your blog is set to show 1 (one) post per page - that applies to ALL views, including archives by author.

  4. bobscape
    Member
    Posted 3 years ago #

    Currently in the reading settings I am showing 1 day

    How do i overide this for the author page?

  5. moshu
    Member
    Posted 3 years ago #

  6. bobscape
    Member
    Posted 3 years ago #

    hmm, def didn't use that before my server went down.

    I'm very confused

  7. johnny9k
    Member
    Posted 3 years ago #

    That custom tag worked perfect for me, thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags