get_posts() method and paging is not working

@user702325

Here’s how i got it working fine on localhost:

I installed the plugin and set the option Place Pager Automatically in Template on “on“. Then in author.php i modified the original query to add some custom parameters. I added this:

global $query_string; // required
$posts = query_posts('posts_per_page=2');

right between rewind_posts(); and get_template_part( 'loop', 'author' );.

That way i could customize the query (in this case i’m showing 2 posts per page) and get the plugin working perfectly.

This test is based on TwentyTen.