Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

astpaul on "Listing more than 5 posts after author's name"

$
0
0

Hi

I am trying to list more than 5 posts after the author name in this page http://2c5.3db.myftpupload.com/author/roxana/

The code that I currently use is

<h2>Posts by <?php echo $curauth->nickname; ?>:</h2>
				<ul>
					<!– 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(); ?></a>,
					<?php the_time('d M Y'); ?> in <?php the_category(' & ');?>
					</li>
					<?php endwhile; else: ?>
					<p><?php _e('No posts by this author.'); ?></p>
					<?php endif; ?>
					<!– End Loop –>
				</ul>

Could someone guide me in the right direction? Thank you :)


Viewing all articles
Browse latest Browse all 8245

Trending Articles