- Add a parameter to the
href
URI for the next posts link per JavaScript. For example?ppp=25
. - Add a filter to
pre_get_posts
, check ifppp
is set (and a positive integer) and change thepost_per_page
parameter accordingly.
Just an idea, no code, but it should give you a direction. 🙂
Related Posts:
- Converting multiple loops into one single loop with pagination
- How to display different number of posts
- Blog post per page setting conflicting with custom WP_Query?
- Blog page pagination is not working after using the offset argument
- How to : pagination in 3 different custom loops on the same page
- Pagination with an array of post objects?
- Start WP Pagination From Number 1 in URL
- Getting blog pagination to work on page set as front page
- Pagination for normal (standard) posts on a page with a custom loop?
- Numbered Pagination Showing The Same Posts After Altering WP_Query
- How can I get the last post while on the first post for pagination? As if it were infinite
- Can I Paginate Post after every 25 tag?
- Posts are not showing up on next page.
- How to inject a post within a loop
- WordPress posts loop pagination – first page return 125 posts instead of 10 and the rest return 10
- Print Current Post Index number within Loop
- Should we trust the post globals?
- Change Posts per page count
- How to get posts published between a date and today?
- The next_posts_link() works only with original $wp_query
- How set featured posts using checkbox in post edit screen?
- Get first post from wp_query
- Do we still need to include a “if (have_posts())” in templates?
- WP_Query: Why is sticky post not first item in loop?
- Allow variable amount of comments before pagination
- Query *only* sticky posts
- Display all posts from specific categories on a page
- Skipping first 3 posts in wp query
- rewind_posts() – what actually the use of it, and where using is required or preferred?
- Skip post in loop and mixin later
- How to show list of posts by author and category?
- How to load paginated post pages via ajax
- How to disable content pagination?
- Override the default number of posts to show for a single loop?
- How to Group Posts by the First Letter or Number?
- get comments and get posts in loop
- How do I reorder (pop and push) items from WP_Query?
- How to exclude latest x posts from a paginated query?
- Display content from a specific category
- Reverse chronology of post listing
- Why do I need to use The Loop on pages (inside page.php etc)?
- posts page – different lengths of excerpt
- WordPress Number of Posts Not Changing With posts_per_page
- How can I display 7 posts on the home page, but 9 posts on the subsequent pages?
- how to display full post with pagination on home page
- Custom Post Type Pagination Doesn’t Work in WordPress 3.4
- Automatically create pages in a post based on number of words
- Count singular post views automatically
- Looping through posts per category gives same posts for each category
- Newer/Older posts links display same posts on every page
- Setting pagination for images attached to a post
- Find most recent authors
- Pagination not working on Custom Page Template
- This AJAX Code Doesn’t Work – Looking for elegant solution
- Show number of posts AND number on current page
- Display All Sticky Post Before Regular Post
- Cannot access current post’s ID in custom plugin
- Can’t show comments count per post outside loop
- Get the author of the latest revision
- Pagination for Pages and Posts
- Programmatically inserting page breaks
- I’m having some issues with previous_post_link() and next_post_link()
- How to have different content in the loop and single
- Specific loop in Shortcode
- Strange switch_to_blog() issue
- Show a list of recently viewed posts to a user
- Multiple loops in same page, without duplicate content
- loop not displaying posts on custom template page
- Repost post on specific date every year
- How to use alternate post layout at key points in post loop?
- Alternate custom content in the loop
- Showing random content / pictures from earlier posts in a sticky post?
- Search widget breaks when using multiple loops?
- How to Display Post View Count
- Different amount of posts on homepage than paged pages
- JetPack Infinite Scroll not working on custom theme
- Displaying the number of posts in a custom loop (without including the number of posts of a loop below)?
- Pagination – Posting First Page Content
- Load posts into sidebar and paginate via ajax?
- Display Latest Post from all Categories
- How can I get all posts data from within a paginated search result?
- When paginating a Page with the tag, how can the 2nd and subsequent page styles be customised?
- Auto Refresh Post List after X seconds
- The correct way to call posts with ajax
- A way to detect which page a post is on
- custom wordpress post loop – hide iframe content
- Double count view in archive.php
- Divide Loop Into Days & Categories
- pagination hook doesn’t work with search results
- Display posts with comments closed, with pagination?
- Group posts by year in loop
- how to know if the post has pagination () or not
- How would I get 1 latest post from a query for 5 posts?
- Unwanted Duplicate Posts Showing in Pagination Pages
- posts_nav_link() not displaying anything
- While in “the loop”, detect if a post is the most recent
- can’t use the page_test method to check pagination
- Is it possible to change the admin posts per page view?
- Lazy Load using WP_Query pagination
- Alternating post layout