offset
would skip posts, it sounds like you want the current page number * the number of posts per page-
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$posts_per_page = $paged * get_option('posts_per_page');
$args = array( 'posts_per_page' => $posts_per_page );
You’ll need to keep in mind that total number of pages in the query object will change as you change the number of posts per page, so you’ll need to keep track of that yourself.
Related Posts:
- How to determine if I’m on the first page of pagination?
- Custom Taxonomy not working with posts_per_page in new WP_query (pagination problem)
- Get the number of posts from the current page results
- Jetpack Infinite scroll conflicting with theme’s pre_get_posts custom posts_per_page
- Custom posts per page does not work with pagination
- Querying posts only if the current page is not paged?
- Cannot go back to the first paginated page using pagination links
- Different page template for paginated content?
- filter posts by meta key with pagination
- Pagination diplays always 2 pages
- Update Gallery Randomly in every hour with no duplicates?
- Custom pagination generates title 404
- the paged param is allways 0
- send user to first page of results when reposting to page?
- WordPress loop problem: Multiple loops, index.php and is_paged causing duplicate posts on next page
- paged query leads to 404? [duplicate]
- How to remove post duplicate when using query_posts(‘offset=1’)
- How to make infinite scroll by dividing the content?
- Is it possible to paginate posts correctly that are random ordered?
- Changing pagination list class
- How to determine if theres a next page
- WordPress /page/2 404 pagination problem – what to do?
- Paged posts – how to use numbers and next/previous links?
- Why do you need an unlikely integer in paginating?
- How to display pagination links for WP_User_Query?
- How to show a single post on the front page but have normal paging?
- How can I create a category landing page followed by pages of posts?
- How to add CSS Class to previous_post_link or get previous/next post link URL
- get_query_var( ‘paged’ ) not working outside of homepage
- Pagination resolving to first page only
- What is the difference between $paged and $page?
- how to get pagination link url?
- add_rewrite_rule – working fine but broken for pagination
- How to get the number of Pages in a single Post Pagination?
- Aggregate comments, with pagination
- post pagination names, not numbers
- How to fix pagination after rewriting url? ie. www.site.com/players/type/pro/page/3/
- Custom post type archive 404’s with paginate_links
- Display “Page 3 of 5” for a paginated post
- get_query_var(‘paged’) always returns empty
- Implementing a general Table of Content across single paginated post pages
- Paginate links with “ugly” and “pretty” permalinks?
- Pagination of RSS2 feed
- Strange paginate_links behavior. First page link is always whatever page I’m on, all other links are correct
- Custom WP_Comment_Query with pagination and orderby?
- Pagination: How do I always show ‘previous’?
- Next/Previous Links in same category
- How To create ajaxed wp-pagenavi?
- Single Page View for Paginated Posts
- How can I see all of a post’s comments on a single page as a reader, if pagination is enabled?
- Why does pagination always break when used on any form of a home page?
- Using paginate_links() to generate “1, 2, 3 … 10, 20, 30, 40… 55” paginations
- Change class=”page-numbers” in pagination
- Check if on last page of paginated post using wp_link_pages
- Varying the number of posts per page from the first one
- Pagination on archive.php page
- Using pagination with get_posts on page type
- List posts based on first letter of posts
- Pagination for sub-pages
- How can I display 7 posts on the home page, but 9 posts on the subsequent pages?
- Pagination/infinite scroll with WP_Query and multiple loops
- Modifying WP_LIST_AUTHOR Functions to output all users in a grid (and Paginate)
- How to get post pagination like this
- How to paginate a list of tags
- Pagination Not Displaying on Custom Term Archive
- Having trouble generating pagination links on custom query
- Non existing blog pages are not redirected to 404
- posts_per_page & pagination conflict
- How to implement pagination eg. newer – 3 – 4 – 5 – 6 – 7 – older
- How do I sort multiples pages?
- Problem: ( kriesi ) pagination doesn’t work in homepage [duplicate]
- Custom loop pagination issue ( pagination not showing up )
- WordPress pagination on custom script
- Combining WordPress pagination functions for archives and search results
- Pagination is not working wp_query custom fields values
- Broken pagination
- Passing custom args in paginate_links
- Limit number of pages in pagination
- wordpress Static Page pagination
- Static front page with recent posts pagination
- query_posts and pagination, still stuck after much research
- How to ignore or disable nextpage tag?
- Paginate tags page
- Custom Permalinks Break Search Pagination
- pagenavigation not showing the next page just linking back to the main page [closed]
- how could I get the pagination as I want to when query posts using get_posts function
- Category pagination shows same posts
- How to display next and prev pagination links with WP_User_Query?
- Custom taxonomy list and sortby letter pagination problem
- Paginate a list of users?
- Move pagination numbers above plug-ins
- Custom Page Template for “Older Posts” Pages
- Allow Users to Choose Pagination or Next/Previous (Combine)
- WordPress Pagination not displaying posts after certain page
- wp_link_page – wrap current page element
- ‘paged’ in wp_query doesn’t work
- category/category_name pagination 404 error
- How to create pagination on archive.php template
- Paginate get related post by author function
- Pagination that includes “view all on one page”