when you use the loop the number of post displayed is choosen fron the option set in Settings->Reading in you backend. It affects all the standard loops, not only the author page.
To change only for author page you have to use pre_get_posts
hook and set the wanted number of posts using posts_per_pag
e argument:
add_action('pre_get_posts','change_numberposts_for_author');
function change_numberposts_for_author( $query ) {
if ( ! is_admin() && $query->is_main_query() && is_author() ) {
$query->set('posts_per_page', 30); // 30 is the number of posts
}
}
See also is_author() on Codex
Related Posts:
- Displaying posts limit: can’t get pagination to display [duplicate]
- Display Authors in a grid loop
- How to fix pagination for custom loops?
- How to get Author ID outside the loop
- Display Authors Comments on Profile Page
- Pagination not working on home page
- WordPress category & taxonomy loop with pagination
- How do I prevent one of two multiple loops from repeating on a second page?
- Two custom loops, pagination, offset
- Display all authors and their only one latest post
- Previous and Next Post link doesn’t work
- Pagination adding extra posts only on page 2
- multiple loops with pagination on the same page
- Enable infinite scroll on single.php [closed]
- How to paginate this custom loop? [duplicate]
- Make a custom loop inside single.php with pagination
- Why do I get `Call to a member function have_posts() on a non-object `? [closed]
- Pagination gives extra page with no results
- Get Pagination (WP-PageNavi) not to work
- Loop starts from the beginning with second while loop on author.php
- How to get an array of years from all of the search results, and use it to filter by year the paginated loop?
- Complex query and posts pagination
- Why only one post (and no pagination) on this variation of the loop?
- Calling & display certain product category loop and pagination on the homepage
- Make blog page show 10 on first page, 9 on every other page
- Pagination for multiple loops
- How to fix pagination for custom loops?
- How can I paginate this?
- Genesis multiple category custom loop 404s after first page
- How to fix pagination for custom loops?
- Pagination – works on local but not live dev!
- How do I paginate a get_posts() request inside another page loop (Paginating childpages)
- Cannot retieve the_content() and the_author() – both returning empty strings
- Pagination on Single Post
- Get author_id in wordpress
- How to get my loop to paginate?
- Display Post Author Link above the loop
- Distribute Gallery Images Every nth in Loop
- How to exclude or filter password protected posts when using next_post_link() previous_post_link
- How to append a query string to pagination?
- How can I display other user avatars on an author profile page?
- How do I get my loop.php to properly paginate?
- Stomping WP_Query in author archive to facilitate pagination with custom queries
- First archive page with a few posts
- Pagination broken after using 2 loops to show content
- Pagination on custom post type on front-page.php
- I have broke my pagination, same posts on all pages (index.php)
- Frontpage pagination by week
- Can’t grab author info outside of the loop
- Saving return value from the_author_posts_link()
- How can this multiple loop have pagination as described?
- How to add a byline to all the pages?
- static page with multiple loops breaks post pagination
- Pagination for two loops
- Pagination in author, category, archive and tags pages does not work
- List ALL posts by author on author archive
- Skip 5 latest post while paging?
- Why does my WP_Query pagination on a custom page.php only loads the homepage?
- How to insert content before pagination in loop?
- Pagination on a underscore custom theme
- WordPress multiple loops with default pagination
- How to fix pagination for custom loops?
- Style first 3 posts differently and use a 2nd loop to get rest of posts / offset and pagination broken
- Custom loop not working in singular.php, working in other pages
- Alternative layout the loop
- How to fix pagination for custom loops?
- Adding pagination to WP_Query [duplicate]
- How to fix pagination for custom loops?
- How to fix pagination for custom loops?
- Why is my pagination showing up?
- Exclude Authors based off date of last post
- Paged homepage – requirements?
- Home page loop with pagination problem
- WooCommerce custom loop pagination on front page
- posts_nav_link() not working on index.php
- Custom Page Template and Category Exclusion
- repeating posts on 2nd page to posts
- Limitless amount of posts in custom archive page
- Same posts within a paginated page
- Multiple loop with pagination in same page
- Insert multiple custom components after x-number of posts
- Get post by page name or slug
- What is best way passing variables to theme templates and using them different places like widgets?
- pop-up lighbox with AJAX
- taxonomy tags 404 to custom post types
- Hide featured post on second page
- How to get the role id from the role name?
- Getting posts link in WordPress
- Adding first and last classes to three column layout in Bones boilerplate
- Pagination for normal (standard) posts on a page with a custom loop?
- Show the number of the post
- Pagination inside the blog page not working
- dispaly all hierarchical post types from a taxonomy
- Attachment Metadata inside of Loop
- Template included with plugin doesn’t return all posts for custom taxonomy
- Insert/sticky multiple posts in multiple positions
- Stuck with conflicting loops on page template
- Show amount of posts created today above loop?
- How to create WordPress loop with combination of 4 and 2 columns twitter-bootstrap?
- How to add custom HTML markup and classes to the_content()?