It should be paged
and not page
'paged' => $currentPage
Related Posts:
- Multiple WP_Query loops with Pagination
- Pagination returns 404 after page 20
- Pagination with WP_Query is buggy – working for some pages, but not the others
- Get the number of posts from the current page results
- Pagination with 5 posts per page
- Pagination/infinite scroll with WP_Query and multiple loops
- Pagination Not working on Home Page with 2 Query
- Display different number of posts from one category on the different pages
- Pagination not working Search posts
- Transient pagination not working properly
- Injecting content with $wp_query->current_post restarts from zero on paged pages. How to inject content after X posts, regardless of pagination?
- Woocommerce custom loop to show all the products [closed]
- How to bring specific post to front of wordpress loop?
- Pagination stops at page 6
- Paginated HTML Sitemap
- Multiple WP_Query loops with Pagination Not Working
- Posts loop with pagination on a single post page
- Create ONE callback for all page templates, post filter queries + paginated pages, triggering pagination via AJAX
- Pagination is broken and I need help fixing it
- Storing query variable and then using wp_reset_query
- Create A Loop With A Variable Number of Posts For Each Bootstrap Row?
- Five posts from a category in footer
- posts_per_page not working for first page of pagination
- How do I get my custom query to work with search results after the first page?
- Stomping WP_Query in author archive to facilitate pagination with custom queries
- Second loop pagination changes URL, not content
- I am officially missing something about transient posts
- Query Not working as expected
- Paginate pages with dynamic query
- Function the_posts_pagination() not compatible with WP_Query arguments
- How can I have sticky posts while ALSO showing posts from a specific category using one WP_Query?
- Pagination inside the blog page not working
- Paging works correctly on local version, but not live?
- Problem with custom WP_Query and underlying pagination/posts_per_page
- 2 Loops on one page – pagination of 2nd loop ignore array of excluded posts
- Pagination returns 404 after page 20
- custom query – offset to pagination
- Pagination not working with WP_QUERY
- No content found on page 2 of pagination with 1 post per page
- wp_query pagination links producing 404
- Loop being strainge
- Pagination in custom query not working [duplicate]
- Multiple loops on index page with sticky post and pagination
- Pagination problem with multiple loops on the same page
- WordPress Post Looping? [duplicate]
- Show number of posts AND number on current page (cannot make it work)
- Pagination only showed when no category is set in wp_query
- Using a custom WP_Query with get_template_part loop
- Display posts the match taxonomy term linked from wp_list_categoies?
- Query causing load because of SQL_CALC_FOUND_ROWS post counting?
- Merging a complex query with post_rewind and splitting posts into two columns
- Pagination wont work with search results template [duplicate]
- Exclude post on loop by multiple meta key value
- Two queries on the same page with pagination
- Sort by meta key on archive page
- WP_Query pagination not working in admin area
- Ignore post by meta value in the main query
- How to retrieve current page WP_Query arguments?
- How to limit WP_Query to one result on the loop?
- How to set pagination to work with ‘/page/’?
- Multiple loops without repeating content
- WP_Query Pagination on multiple-loop page breaks WP or doesn’t show up
- Filtering posts from different categories into different section by doing WP_Query only once
- How to return a 404 when custom query matches nothing?
- Multisite pagination issue by multi query archive 404
- Custom taxonomy.php not working
- Transient api Caches confused
- sort and display posts by custom field (wp-query and the loop))
- Filtering by multiple conditions in the loop
- How to access $wp_query object from array of posts given by get_posts?
- Display all attached image of every post of custom post type and link to original post
- WordPress Queries Not Working?
- Filter subpages in while loop from WP Query object
- Magazine style frontpage with multiple categories/loops and no duplicate posts
- Reciving Error 404 blog/page/2/
- How can I use arrays and a foreach to generate many lists with WP_Query?
- wordpress pagination wont render on custom page template even though its right under the loop like the documentation says so
- display ACF repater field in archive page
- Related posts queries
- Pagination for Category does not work
- display the children of the post using the current page as the main parent
- Display 3 levels of categories on page
- Pagination not working in custom loop WP_Query
- Custom post type loop error: Trying to get property of non-object
- How to make a wordpress loop file that displays posts based on certain conditions
- Custom loop – Isolating post meta output depending on current query taxonomy terms
- previous_posts_link not working in WordPress pagination
- WP_Query with meta_value_num and meta_query not paged correctly
- How do I display posts with specific value in a custom field into my loop?
- Pagination with WP_Query not working
- Order by multiple meta keys on wordpress
- Display First posts without the default featured image
- WP_Query breaks pagination
- paginate_links() with Custom Taxonomy
- WordPress post pagination on custom template not working
- Can’t seem to get an else statement correct? [closed]
- Output ACF field dynamicaly within a taxonomy loop [closed]
- How do I split a large query with a semi-expensive function included into multiple smaller queries
- Search results stuck on page 1
- taxonomy-{term}.php terms pagination returning 404 after a certain page