Well, I was able to solve this with a custom query string parameter: ?view=2 for the 2nd page, that just seems cludgy when the system already has a route for /page/2/ for example. It’s even more annoying to me that ?page= and ?p=, the most logical names for a paging query parameter, don’t work. WordPress refuses to accept those and strips them from the URL.
Related Posts:
- Issue with using add_rewrite_rule() for post querying custom fields
- I want to create a filter for the query string is this possible?
- Rewrite rule for query params
- Add rewrite rule for archive search
- WordPress add_query_arg from ajax and make url friendly
- Query Post interferes with Pagination
- My custom pagination not displaying
- Pagination adds search query (again)
- How to get all images in Media Gallery with pagination?
- Sort loop with query in the link
- Rewrite Query_Var URL Parameter with Slug
- WordPress: paginating array using a foreach
- Get URL parameters with rewrite rules
- Differences between wpdb->get_results() and wpdb->query()
- Using WordPress public query variables
- wpdb get posts by taxonomy SQL
- How to List Events by Year and Month Using Advanced Custom Fields?
- Is there any difference between hooks posts_where with posts_join and posts_search performance wise?
- Get a user’s most recent post title
- $query->query_var[‘post_type’] not set for pages
- Different Main Navigation per category
- Show recent products first but “sold out last” in query
- Show All Posts Insert Edit Link
- Get IDs of posts currently visible on archive
- Get posts by category with pure SQL query
- can’t get query to order posts by acf datepicker
- Custom query to get terms from post ids
- Help with wordpress custom query and advanced custom fields plugin
- WordPress query by category, sorted by custom field
- Mysql / WordPress killing my server with 80k users [closed]
- Query all posts and not repeat the same tag
- Deleting data from a custom table in WordPress
- How many queries are normal to execute on a WP site?
- How to optimize my query filtering out unwanted data?
- Remove posts from query for events whose start date has passed
- Insert static element only once in query archive
- How to run a mysql query when admin updates user role?
- Error when using setup_postdata()
- pre_get_posts : ‘post__not_in’ doesn’t work with global variable
- Getting post data from private page
- Missing posts in a query
- Alter a specific query on WordPress
- SQL query to select posts from multiple categories
- How do I move/order posts with a tag to the end?
- Protect sequence of pages with same password for each of two groups of users
- How is it possible to get top comment from all children?
- Select Query demand excesive resources [closed]
- Create Indexes for Slow Queries
- Query to get number of posts last week
- How can I paginate this?
- How to fix pagination for custom loops?
- category pagination got broken suddenly
- Adding a rewrite rule to page that has no fixed variables and pagination
- Query posts according to specific post meta values
- Number of posts in the archive
- wpdb COALESCE won’t work
- empty query breaks other queries
- Problem in exploding the_content to array
- What is wrong with my wp query, cant exclude the category that i want
- Yoast primary category query modification
- how to insert missing tags into the posts through mySQL?
- How to write update query in WordPress to expire transients
- Query Nickname rather than Display Name in custom Woocommerce plugin
- Get previous posts list
- how to replace old DW site with new WP site? [closed]
- Pagination for custom post types – url rewriting
- WordPress SQL query to tag all posts containing a specific word on title
- Order terms by count – missing terms
- Querying Advanced Custom Fields
- How to rearrange a pool of posts joined using two queries?
- wpdb update multiple row?
- Can I include get_posts in this array?
- Custom query Custom-Post-Types creates error
- Formatting a date/time returned from a custom $wpdb query
- Hook into the Admin Dashboard and redirect users
- Displaying data from custom table
- SEO friendly query vars
- Prevent versioning for .woff (font) files
- Orderby event date (if it exists) or post date (if it doesn’t) – how to reorder posts based on meta value OR date
- Why pagination is not working with tax_query param?
- Tags pages for different Custom Post Types and WooCommerce Products sharing Post Tags
- OR condition not working
- Query not returning child posts for any parent post ID
- Use $wpdb->get_results with filter based on array
- Add Hook for clearing transient when post is added
- How to fix pagination for custom loops?
- How to have more post in a page than in your home page
- Show links to child pages on both parent AND child pages
- wordpress category.php query for featured news item, broken pagination and repeating posts
- Modify Global Posts Plugin
- How to reference same column name but different table in custom db query
- Retrieving custom field array value through db query
- SQL Query : how copy all tags of post into their post content in wordpress by sql query
- Multiple loop with pagination in same page
- How do I troubleshoot Maximum execution time of 60 seconds exceeded in updating a Media File?
- update $wpdb one query
- Admin Post List table Query filtering “WHERE” for custom post type
- Prevent executing query for wp_global_styles
- How to use a dynamic term id for the query block
- Help with query